From: kbuild test robot <fengguang.wu@intel.com>
To: Andi Kleen <ak@linux.intel.com>
Cc: kbuild-all@01.org, Andrew Morton <akpm@linux-foundation.org>,
Linux Memory Management List <linux-mm@kvack.org>
Subject: [linux-next:master 8889/10688] lib/bug.c:212: error: type defaults to 'int' in declaration of '__val'
Date: Thu, 2 Nov 2017 22:57:02 +0800 [thread overview]
Message-ID: <201711022200.JJBUtD0c%fengguang.wu@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 6042 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: fa8785e862ef644f742558f1a8c91eca6f3f0004
commit: 371435f78e9e26519763411c2cd20975d2293efe [8889/10688] kernel debug: support resetting WARN_ONCE for all architectures
config: x86_64-randconfig-v0-11021943 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
reproduce:
git checkout 371435f78e9e26519763411c2cd20975d2293efe
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
lib/bug.c: In function 'generic_bug_clear_once':
lib/bug.c:212: error: 'module_bug_list' undeclared (first use in this function)
lib/bug.c:212: error: (Each undeclared identifier is reported only once
lib/bug.c:212: error: for each function it appears in.)
lib/bug.c:212: error: type defaults to 'int' in declaration of '_________p1'
>> lib/bug.c:212: error: type defaults to 'int' in declaration of '__val'
lib/bug.c:212: error: type defaults to 'int' in declaration of '___typecheck_p'
lib/bug.c:212: warning: cast to pointer from integer of different size
lib/bug.c:212: error: type defaults to 'int' in declaration of '_________p1'
>> lib/bug.c:212: error: type defaults to 'int' in declaration of '__val'
lib/bug.c:212: error: type defaults to 'int' in declaration of '___typecheck_p'
lib/bug.c:212: error: invalid type argument of 'unary *' (have 'int')
lib/bug.c:212: error: dereferencing pointer to incomplete type
>> lib/bug.c:212: error: type defaults to 'int' in declaration of 'type name'
>> lib/bug.c:212: error: request for member 'bug_list' in something not a structure or union
>> lib/bug.c:212: error: type defaults to 'int' in declaration of 'type name'
>> lib/bug.c:212: error: type defaults to 'int' in declaration of 'type name'
lib/bug.c:212: error: type defaults to 'int' in declaration of '_________p1'
>> lib/bug.c:212: error: type defaults to 'int' in declaration of '__val'
lib/bug.c:212: error: type defaults to 'int' in declaration of '___typecheck_p'
lib/bug.c:212: error: invalid type argument of 'unary *' (have 'int')
>> lib/bug.c:212: error: type defaults to 'int' in declaration of 'type name'
lib/bug.c:212: error: dereferencing pointer to incomplete type
lib/bug.c:212: error: dereferencing pointer to incomplete type
>> lib/bug.c:212: error: type defaults to 'int' in declaration of 'type name'
>> lib/bug.c:212: error: request for member 'bug_list' in something not a structure or union
>> lib/bug.c:212: error: type defaults to 'int' in declaration of 'type name'
lib/bug.c:212: error: dereferencing pointer to incomplete type
lib/bug.c:212: error: dereferencing pointer to incomplete type
lib/bug.c:212: error: type defaults to 'int' in declaration of '_________p1'
lib/bug.c:212: error: dereferencing pointer to incomplete type
>> lib/bug.c:212: error: type defaults to 'int' in declaration of '__val'
lib/bug.c:212: error: dereferencing pointer to incomplete type
lib/bug.c:212: error: dereferencing pointer to incomplete type
lib/bug.c:212: error: dereferencing pointer to incomplete type
lib/bug.c:212: error: dereferencing pointer to incomplete type
lib/bug.c:212: error: dereferencing pointer to incomplete type
lib/bug.c:212: error: type defaults to 'int' in declaration of '___typecheck_p'
lib/bug.c:212: warning: cast to pointer from integer of different size
lib/bug.c:212: error: dereferencing pointer to incomplete type
lib/bug.c:212: error: type defaults to 'int' in declaration of '_________p1'
lib/bug.c:212: error: dereferencing pointer to incomplete type
>> lib/bug.c:212: error: type defaults to 'int' in declaration of '__val'
lib/bug.c:212: error: dereferencing pointer to incomplete type
lib/bug.c:212: error: dereferencing pointer to incomplete type
lib/bug.c:212: error: dereferencing pointer to incomplete type
lib/bug.c:212: error: dereferencing pointer to incomplete type
lib/bug.c:212: error: dereferencing pointer to incomplete type
lib/bug.c:212: error: type defaults to 'int' in declaration of '___typecheck_p'
lib/bug.c:212: error: invalid type argument of 'unary *' (have 'int')
lib/bug.c:212: error: dereferencing pointer to incomplete type
>> lib/bug.c:212: error: type defaults to 'int' in declaration of 'type name'
>> lib/bug.c:212: error: request for member 'bug_list' in something not a structure or union
>> lib/bug.c:212: error: type defaults to 'int' in declaration of 'type name'
>> lib/bug.c:212: error: type defaults to 'int' in declaration of 'type name'
lib/bug.c:212: error: dereferencing pointer to incomplete type
lib/bug.c:212: error: type defaults to 'int' in declaration of '_________p1'
lib/bug.c:212: error: dereferencing pointer to incomplete type
>> lib/bug.c:212: error: type defaults to 'int' in declaration of '__val'
lib/bug.c:212: error: dereferencing pointer to incomplete type
lib/bug.c:212: error: dereferencing pointer to incomplete type
lib/bug.c:212: error: dereferencing pointer to incomplete type
lib/bug.c:212: error: dereferencing pointer to incomplete type
lib/bug.c:212: error: dereferencing pointer to incomplete type
lib/bug.c:212: error: type defaults to 'int' in declaration of '___typecheck_p'
lib/bug.c:212: error: invalid type argument of 'unary *' (have 'int')
>> lib/bug.c:212: error: type defaults to 'int' in declaration of 'type name'
lib/bug.c:212: error: dereferencing pointer to incomplete type
lib/bug.c:212: error: dereferencing pointer to incomplete type
>> lib/bug.c:212: error: type defaults to 'int' in declaration of 'type name'
vim +212 lib/bug.c
206
207 void generic_bug_clear_once(void)
208 {
209 struct module *mod;
210
211 rcu_read_lock_sched();
> 212 list_for_each_entry_rcu(mod, &module_bug_list, bug_list)
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 28032 bytes --]
reply other threads:[~2017-11-02 14:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201711022200.JJBUtD0c%fengguang.wu@intel.com \
--to=fengguang.wu@intel.com \
--cc=ak@linux.intel.com \
--cc=akpm@linux-foundation.org \
--cc=kbuild-all@01.org \
--cc=linux-mm@kvack.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).