tree: https://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next.git c_can head: a11469e9e8b072378f492903205f5d46821111d4 commit: 9221d9376099ec5453e50c0b11213fb775c123eb [9/11] can: rx-offload: add skb queue for use during ISR config: x86_64-lkp (attached as .config) compiler: gcc-7 (Debian 7.4.0-14) 7.4.0 reproduce: git checkout 9221d9376099ec5453e50c0b11213fb775c123eb # save the attached .config to linux build tree make ARCH=x86_64 If you fix the issue, kindly add following tag Reported-by: kbuild test robot <lkp@xxxxxxxxx> All error/warnings (new ones prefixed by >>): In file included from include/linux/linkage.h:7:0, from include/linux/kernel.h:8, from include/linux/uio.h:8, from include/linux/socket.h:8, from include/uapi/linux/can.h:50, from include/linux/can/dev.h:17, from drivers/net/can/rx-offload.c:8: >> include/linux/export.h:104:20: error: redefinition of '__kstrtab_can_rx_offload_receive_skb' static const char __kstrtab_##sym[] \ ^ include/linux/export.h:117:2: note: in expansion of macro '___export_symbol_common' ___export_symbol_common(sym, sec); \ ^~~~~~~~~~~~~~~~~~~~~~~ include/linux/export.h:169:34: note: in expansion of macro '___EXPORT_SYMBOL' #define __EXPORT_SYMBOL(sym,sec) ___EXPORT_SYMBOL(sym,sec) ^~~~~~~~~~~~~~~~ include/linux/export.h:180:33: note: in expansion of macro '__EXPORT_SYMBOL' #define EXPORT_SYMBOL_GPL(sym) __EXPORT_SYMBOL(sym, "_gpl") ^~~~~~~~~~~~~~~ >> drivers/net/can/rx-offload.c:312:1: note: in expansion of macro 'EXPORT_SYMBOL_GPL' EXPORT_SYMBOL_GPL(can_rx_offload_receive_skb); ^~~~~~~~~~~~~~~~~ include/linux/export.h:104:20: note: previous definition of '__kstrtab_can_rx_offload_receive_skb' was here static const char __kstrtab_##sym[] \ ^ include/linux/export.h:117:2: note: in expansion of macro '___export_symbol_common' ___export_symbol_common(sym, sec); \ ^~~~~~~~~~~~~~~~~~~~~~~ include/linux/export.h:169:34: note: in expansion of macro '___EXPORT_SYMBOL' #define __EXPORT_SYMBOL(sym,sec) ___EXPORT_SYMBOL(sym,sec) ^~~~~~~~~~~~~~~~ include/linux/export.h:180:33: note: in expansion of macro '__EXPORT_SYMBOL' #define EXPORT_SYMBOL_GPL(sym) __EXPORT_SYMBOL(sym, "_gpl") ^~~~~~~~~~~~~~~ drivers/net/can/rx-offload.c:288:1: note: in expansion of macro 'EXPORT_SYMBOL_GPL' EXPORT_SYMBOL_GPL(can_rx_offload_receive_skb); ^~~~~~~~~~~~~~~~~ -- In file included from include/linux/linkage.h:7:0, from include/linux/kernel.h:8, from include/linux/uio.h:8, from include/linux/socket.h:8, from include/uapi/linux/can.h:50, from include/linux/can/dev.h:17, from drivers/net//can/rx-offload.c:8: >> include/linux/export.h:104:20: error: redefinition of '__kstrtab_can_rx_offload_receive_skb' static const char __kstrtab_##sym[] \ ^ include/linux/export.h:117:2: note: in expansion of macro '___export_symbol_common' ___export_symbol_common(sym, sec); \ ^~~~~~~~~~~~~~~~~~~~~~~ include/linux/export.h:169:34: note: in expansion of macro '___EXPORT_SYMBOL' #define __EXPORT_SYMBOL(sym,sec) ___EXPORT_SYMBOL(sym,sec) ^~~~~~~~~~~~~~~~ include/linux/export.h:180:33: note: in expansion of macro '__EXPORT_SYMBOL' #define EXPORT_SYMBOL_GPL(sym) __EXPORT_SYMBOL(sym, "_gpl") ^~~~~~~~~~~~~~~ drivers/net//can/rx-offload.c:312:1: note: in expansion of macro 'EXPORT_SYMBOL_GPL' EXPORT_SYMBOL_GPL(can_rx_offload_receive_skb); ^~~~~~~~~~~~~~~~~ include/linux/export.h:104:20: note: previous definition of '__kstrtab_can_rx_offload_receive_skb' was here static const char __kstrtab_##sym[] \ ^ include/linux/export.h:117:2: note: in expansion of macro '___export_symbol_common' ___export_symbol_common(sym, sec); \ ^~~~~~~~~~~~~~~~~~~~~~~ include/linux/export.h:169:34: note: in expansion of macro '___EXPORT_SYMBOL' #define __EXPORT_SYMBOL(sym,sec) ___EXPORT_SYMBOL(sym,sec) ^~~~~~~~~~~~~~~~ include/linux/export.h:180:33: note: in expansion of macro '__EXPORT_SYMBOL' #define EXPORT_SYMBOL_GPL(sym) __EXPORT_SYMBOL(sym, "_gpl") ^~~~~~~~~~~~~~~ drivers/net//can/rx-offload.c:288:1: note: in expansion of macro 'EXPORT_SYMBOL_GPL' EXPORT_SYMBOL_GPL(can_rx_offload_receive_skb); ^~~~~~~~~~~~~~~~~ vim +/__kstrtab_can_rx_offload_receive_skb +104 include/linux/export.h 69a94abb82eed2 Masahiro Yamada 2019-09-09 100 8651ec01daedad Matthias Maennich 2019-09-06 101 #define ___export_symbol_common(sym, sec) \ f50169324df4ad Paul Gortmaker 2011-05-23 102 extern typeof(sym) sym; \ 8651ec01daedad Matthias Maennich 2019-09-06 103 __CRC_SYMBOL(sym, sec); \ f50169324df4ad Paul Gortmaker 2011-05-23 @104 static const char __kstrtab_##sym[] \ 7290d58095712a Ard Biesheuvel 2018-08-21 105 __attribute__((section("__ksymtab_strings"), used, aligned(1))) \ 8651ec01daedad Matthias Maennich 2019-09-06 106 = #sym \ 8651ec01daedad Matthias Maennich 2019-09-06 107 :::::: The code at line 104 was first introduced by commit :::::: f50169324df4ad942e544386d136216c8617636a module.h: split out the EXPORT_SYMBOL into export.h :::::: TO: Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx> :::::: CC: Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip