[linux-next:master 8889/10688] lib/bug.c:212: error: type defaults to 'int' in declaration of '__val'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]
  Powered by Linux