lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Sun, 12 Feb 2017 09:35:13 +0800
From:   kbuild test robot <fengguang.wu@...el.com>
To:     Ingo Molnar <mingo@...nel.org>
Cc:     kbuild-all@...org, linux-kernel@...r.kernel.org, tipbuild@...or.com
Subject: [tip:WIP.sched/core 88/154]
 arch/s390/appldata/appldata_base.c:572:19: error: 'nr_threads' undeclared
 here (not in a function)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/core
head:   12372f63e2728a509817b56878cd6633d92053b3
commit: 1a0c1b565f6d461190282268c46480b53785651e [88/154] sched/headers: Move task statistics APIs from <linux/sched.h> to <linux/sched/stat.h>
config: s390-default_defconfig (attached as .config)
compiler: s390x-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 1a0c1b565f6d461190282268c46480b53785651e
        # save the attached .config to linux build tree
        make.cross ARCH=s390 

All errors (new ones prefixed by >>):

   In file included from include/linux/linkage.h:6:0,
                    from include/linux/kernel.h:6,
                    from include/linux/list.h:8,
                    from include/linux/module.h:9,
                    from arch/s390/appldata/appldata_base.c:14:
>> arch/s390/appldata/appldata_base.c:572:19: error: 'nr_threads' undeclared here (not in a function)
    EXPORT_SYMBOL_GPL(nr_threads);
                      ^
   include/linux/export.h:58:16: note: in definition of macro '___EXPORT_SYMBOL'
     extern typeof(sym) sym;      \
                   ^~~
   arch/s390/appldata/appldata_base.c:572:1: note: in expansion of macro 'EXPORT_SYMBOL_GPL'
    EXPORT_SYMBOL_GPL(nr_threads);
    ^~~~~~~~~~~~~~~~~
>> arch/s390/appldata/appldata_base.c:573:19: error: 'nr_running' undeclared here (not in a function)
    EXPORT_SYMBOL_GPL(nr_running);
                      ^
   include/linux/export.h:58:16: note: in definition of macro '___EXPORT_SYMBOL'
     extern typeof(sym) sym;      \
                   ^~~
   arch/s390/appldata/appldata_base.c:573:1: note: in expansion of macro 'EXPORT_SYMBOL_GPL'
    EXPORT_SYMBOL_GPL(nr_running);
    ^~~~~~~~~~~~~~~~~
>> arch/s390/appldata/appldata_base.c:574:19: error: 'nr_iowait' undeclared here (not in a function)
    EXPORT_SYMBOL_GPL(nr_iowait);
                      ^
   include/linux/export.h:58:16: note: in definition of macro '___EXPORT_SYMBOL'
     extern typeof(sym) sym;      \
                   ^~~
   arch/s390/appldata/appldata_base.c:574:1: note: in expansion of macro 'EXPORT_SYMBOL_GPL'
    EXPORT_SYMBOL_GPL(nr_iowait);
    ^~~~~~~~~~~~~~~~~

vim +/nr_threads +572 arch/s390/appldata/appldata_base.c

^1da177e4 Linus Torvalds  2005-04-16  566  EXPORT_SYMBOL_GPL(appldata_unregister_ops);
5b5dd21a8 Gerald Schaefer 2006-06-29  567  EXPORT_SYMBOL_GPL(appldata_diag);
^1da177e4 Linus Torvalds  2005-04-16  568  
0c3252d58 Gerald Schaefer 2008-07-14  569  #ifdef CONFIG_SWAP
^1da177e4 Linus Torvalds  2005-04-16  570  EXPORT_SYMBOL_GPL(si_swapinfo);
0c3252d58 Gerald Schaefer 2008-07-14  571  #endif
^1da177e4 Linus Torvalds  2005-04-16 @572  EXPORT_SYMBOL_GPL(nr_threads);
^1da177e4 Linus Torvalds  2005-04-16 @573  EXPORT_SYMBOL_GPL(nr_running);
^1da177e4 Linus Torvalds  2005-04-16 @574  EXPORT_SYMBOL_GPL(nr_iowait);

:::::: The code at line 572 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@...970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@...970.osdl.org>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Download attachment ".config.gz" of type "application/gzip" (16740 bytes)

Powered by blists - more mailing lists