linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 8889/10688] lib/bug.c:212: error: type defaults to 'int' in declaration of '__val'
@ 2017-11-02 14:57 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2017-11-02 14:57 UTC (permalink / raw)
  To: Andi Kleen; +Cc: kbuild-all, Andrew Morton, Linux Memory Management List

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-11-02 14:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-02 14:57 [linux-next:master 8889/10688] lib/bug.c:212: error: type defaults to 'int' in declaration of '__val' kbuild test robot

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).