[tip:WIP.sched/core 125/133] arch/s390/appldata/appldata_base.c:572:1: note: in expansion of macro 'EXPORT_SYMBOL_GPL'
From: kbuild test robot
Date: Fri Feb 03 2017 - 12:24:00 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/core
head: 9a631ea4bdc4d7a7faabc4a98d632f39573a9a8d
commit: d05e7f397bbc869fbd04ca88cd3097b1c13b69d7 [125/133] sched/headers: Move task statistics from <linux/sched.h> to <linux/sched/stat.h>
config: s390-gcov_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 d05e7f397bbc869fbd04ca88cd3097b1c13b69d7
# save the attached .config to linux build tree
make.cross ARCH=s390
All warnings (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 +/EXPORT_SYMBOL_GPL +572 arch/s390/appldata/appldata_base.c
524dbcdad Gerald Schaefer 2009-06-16 556 out_driver:
524dbcdad Gerald Schaefer 2009-06-16 557 platform_driver_unregister(&appldata_pdrv);
524dbcdad Gerald Schaefer 2009-06-16 558 return rc;
^1da177e4 Linus Torvalds 2005-04-16 559 }
^1da177e4 Linus Torvalds 2005-04-16 560
076fc808a Satyam Sharma 2007-10-12 561 __initcall(appldata_init);
^1da177e4 Linus Torvalds 2005-04-16 562
^1da177e4 Linus Torvalds 2005-04-16 563 /**************************** init / exit <END> ******************************/
^1da177e4 Linus Torvalds 2005-04-16 564
^1da177e4 Linus Torvalds 2005-04-16 565 EXPORT_SYMBOL_GPL(appldata_register_ops);
^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@xxxxxxxxxxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip