* [pm:bleeding-edge 87/88] include/linux/export.h:67:20: error: redefinition of '__kstrtab_acpi_subsys_freeze_noirq'
@ 2017-10-26 12:04 ` kbuild test robot
0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2017-10-26 12:04 UTC (permalink / raw)
To: Rafael J. Wysocki; +Cc: kbuild-all, linux-acpi, devel, linux-pm
[-- Attachment #1: Type: text/plain, Size: 7892 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
head: 9b3e83b2d7070805ab1890f18d0b3f2cdf177786
commit: e1a07b46a16732e00be7d1be004858fbbc524740 [87/88] ACPI / PM: Take SMART_SUSPEND driver flag into account
config: i386-randconfig-x074-201743 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
git checkout e1a07b46a16732e00be7d1be004858fbbc524740
# save the attached .config to linux build tree
make ARCH=i386
All error/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/resource_ext.h:17,
from include/linux/acpi.h:26,
from drivers/acpi/device_pm.c:21:
>> include/linux/export.h:67:20: error: redefinition of '__kstrtab_acpi_subsys_freeze_noirq'
static const char __kstrtab_##sym[] \
^
include/linux/export.h:100:25: note: in expansion of macro '___EXPORT_SYMBOL'
#define __EXPORT_SYMBOL ___EXPORT_SYMBOL
^~~~~~~~~~~~~~~~
include/linux/export.h:107:2: note: in expansion of macro '__EXPORT_SYMBOL'
__EXPORT_SYMBOL(sym, "_gpl")
^~~~~~~~~~~~~~~
>> drivers/acpi/device_pm.c:1144:1: note: in expansion of macro 'EXPORT_SYMBOL_GPL'
EXPORT_SYMBOL_GPL(acpi_subsys_freeze_noirq);
^~~~~~~~~~~~~~~~~
include/linux/export.h:67:20: note: previous definition of '__kstrtab_acpi_subsys_freeze_noirq' was here
static const char __kstrtab_##sym[] \
^
include/linux/export.h:100:25: note: in expansion of macro '___EXPORT_SYMBOL'
#define __EXPORT_SYMBOL ___EXPORT_SYMBOL
^~~~~~~~~~~~~~~~
include/linux/export.h:107:2: note: in expansion of macro '__EXPORT_SYMBOL'
__EXPORT_SYMBOL(sym, "_gpl")
^~~~~~~~~~~~~~~
drivers/acpi/device_pm.c:1124:1: note: in expansion of macro 'EXPORT_SYMBOL_GPL'
EXPORT_SYMBOL_GPL(acpi_subsys_freeze_noirq);
^~~~~~~~~~~~~~~~~
include/linux/export.h:70:36: error: redefinition of '__ksymtab_acpi_subsys_freeze_noirq'
static const struct kernel_symbol __ksymtab_##sym \
^
include/linux/export.h:100:25: note: in expansion of macro '___EXPORT_SYMBOL'
#define __EXPORT_SYMBOL ___EXPORT_SYMBOL
^~~~~~~~~~~~~~~~
include/linux/export.h:107:2: note: in expansion of macro '__EXPORT_SYMBOL'
__EXPORT_SYMBOL(sym, "_gpl")
^~~~~~~~~~~~~~~
>> drivers/acpi/device_pm.c:1144:1: note: in expansion of macro 'EXPORT_SYMBOL_GPL'
EXPORT_SYMBOL_GPL(acpi_subsys_freeze_noirq);
^~~~~~~~~~~~~~~~~
include/linux/export.h:70:36: note: previous definition of '__ksymtab_acpi_subsys_freeze_noirq' was here
static const struct kernel_symbol __ksymtab_##sym \
^
include/linux/export.h:100:25: note: in expansion of macro '___EXPORT_SYMBOL'
#define __EXPORT_SYMBOL ___EXPORT_SYMBOL
^~~~~~~~~~~~~~~~
include/linux/export.h:107:2: note: in expansion of macro '__EXPORT_SYMBOL'
__EXPORT_SYMBOL(sym, "_gpl")
^~~~~~~~~~~~~~~
drivers/acpi/device_pm.c:1124:1: note: in expansion of macro 'EXPORT_SYMBOL_GPL'
EXPORT_SYMBOL_GPL(acpi_subsys_freeze_noirq);
^~~~~~~~~~~~~~~~~
--
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/resource_ext.h:17,
from include/linux/acpi.h:26,
from drivers//acpi/device_pm.c:21:
>> include/linux/export.h:67:20: error: redefinition of '__kstrtab_acpi_subsys_freeze_noirq'
static const char __kstrtab_##sym[] \
^
include/linux/export.h:100:25: note: in expansion of macro '___EXPORT_SYMBOL'
#define __EXPORT_SYMBOL ___EXPORT_SYMBOL
^~~~~~~~~~~~~~~~
include/linux/export.h:107:2: note: in expansion of macro '__EXPORT_SYMBOL'
__EXPORT_SYMBOL(sym, "_gpl")
^~~~~~~~~~~~~~~
drivers//acpi/device_pm.c:1144:1: note: in expansion of macro 'EXPORT_SYMBOL_GPL'
EXPORT_SYMBOL_GPL(acpi_subsys_freeze_noirq);
^~~~~~~~~~~~~~~~~
include/linux/export.h:67:20: note: previous definition of '__kstrtab_acpi_subsys_freeze_noirq' was here
static const char __kstrtab_##sym[] \
^
include/linux/export.h:100:25: note: in expansion of macro '___EXPORT_SYMBOL'
#define __EXPORT_SYMBOL ___EXPORT_SYMBOL
^~~~~~~~~~~~~~~~
include/linux/export.h:107:2: note: in expansion of macro '__EXPORT_SYMBOL'
__EXPORT_SYMBOL(sym, "_gpl")
^~~~~~~~~~~~~~~
drivers//acpi/device_pm.c:1124:1: note: in expansion of macro 'EXPORT_SYMBOL_GPL'
EXPORT_SYMBOL_GPL(acpi_subsys_freeze_noirq);
^~~~~~~~~~~~~~~~~
include/linux/export.h:70:36: error: redefinition of '__ksymtab_acpi_subsys_freeze_noirq'
static const struct kernel_symbol __ksymtab_##sym \
^
include/linux/export.h:100:25: note: in expansion of macro '___EXPORT_SYMBOL'
#define __EXPORT_SYMBOL ___EXPORT_SYMBOL
^~~~~~~~~~~~~~~~
include/linux/export.h:107:2: note: in expansion of macro '__EXPORT_SYMBOL'
__EXPORT_SYMBOL(sym, "_gpl")
^~~~~~~~~~~~~~~
drivers//acpi/device_pm.c:1144:1: note: in expansion of macro 'EXPORT_SYMBOL_GPL'
EXPORT_SYMBOL_GPL(acpi_subsys_freeze_noirq);
^~~~~~~~~~~~~~~~~
include/linux/export.h:70:36: note: previous definition of '__ksymtab_acpi_subsys_freeze_noirq' was here
static const struct kernel_symbol __ksymtab_##sym \
^
include/linux/export.h:100:25: note: in expansion of macro '___EXPORT_SYMBOL'
#define __EXPORT_SYMBOL ___EXPORT_SYMBOL
^~~~~~~~~~~~~~~~
include/linux/export.h:107:2: note: in expansion of macro '__EXPORT_SYMBOL'
__EXPORT_SYMBOL(sym, "_gpl")
^~~~~~~~~~~~~~~
drivers//acpi/device_pm.c:1124:1: note: in expansion of macro 'EXPORT_SYMBOL_GPL'
EXPORT_SYMBOL_GPL(acpi_subsys_freeze_noirq);
^~~~~~~~~~~~~~~~~
vim +/__kstrtab_acpi_subsys_freeze_noirq +67 include/linux/export.h
f5016932 Paul Gortmaker 2011-05-23 62
f5016932 Paul Gortmaker 2011-05-23 63 /* For every exported symbol, place a struct in the __ksymtab section */
f2355416 Nicolas Pitre 2016-01-22 64 #define ___EXPORT_SYMBOL(sym, sec) \
f5016932 Paul Gortmaker 2011-05-23 65 extern typeof(sym) sym; \
f5016932 Paul Gortmaker 2011-05-23 66 __CRC_SYMBOL(sym, sec) \
f5016932 Paul Gortmaker 2011-05-23 @67 static const char __kstrtab_##sym[] \
f5016932 Paul Gortmaker 2011-05-23 68 __attribute__((section("__ksymtab_strings"), aligned(1))) \
b92021b0 Rusty Russell 2013-03-15 69 = VMLINUX_SYMBOL_STR(sym); \
b67067f1 Nicholas Piggin 2016-08-24 70 static const struct kernel_symbol __ksymtab_##sym \
f5016932 Paul Gortmaker 2011-05-23 71 __used \
b67067f1 Nicholas Piggin 2016-08-24 72 __attribute__((section("___ksymtab" sec "+" #sym), used)) \
f5016932 Paul Gortmaker 2011-05-23 73 = { (unsigned long)&sym, __kstrtab_##sym }
f5016932 Paul Gortmaker 2011-05-23 74
:::::: The code at line 67 was first introduced by commit
:::::: f50169324df4ad942e544386d136216c8617636a module.h: split out the EXPORT_SYMBOL into export.h
:::::: TO: Paul Gortmaker <paul.gortmaker@windriver.com>
:::::: CC: Paul Gortmaker <paul.gortmaker@windriver.com>
---
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: 26294 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Devel] [pm:bleeding-edge 87/88] include/linux/export.h:67:20: error: redefinition of '__kstrtab_acpi_subsys_freeze_noirq'
@ 2017-10-26 12:04 ` kbuild test robot
0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2017-10-26 12:04 UTC (permalink / raw)
To: devel
[-- Attachment #1: Type: text/plain, Size: 8043 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
head: 9b3e83b2d7070805ab1890f18d0b3f2cdf177786
commit: e1a07b46a16732e00be7d1be004858fbbc524740 [87/88] ACPI / PM: Take SMART_SUSPEND driver flag into account
config: i386-randconfig-x074-201743 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
git checkout e1a07b46a16732e00be7d1be004858fbbc524740
# save the attached .config to linux build tree
make ARCH=i386
All error/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/resource_ext.h:17,
from include/linux/acpi.h:26,
from drivers/acpi/device_pm.c:21:
>> include/linux/export.h:67:20: error: redefinition of '__kstrtab_acpi_subsys_freeze_noirq'
static const char __kstrtab_##sym[] \
^
include/linux/export.h:100:25: note: in expansion of macro '___EXPORT_SYMBOL'
#define __EXPORT_SYMBOL ___EXPORT_SYMBOL
^~~~~~~~~~~~~~~~
include/linux/export.h:107:2: note: in expansion of macro '__EXPORT_SYMBOL'
__EXPORT_SYMBOL(sym, "_gpl")
^~~~~~~~~~~~~~~
>> drivers/acpi/device_pm.c:1144:1: note: in expansion of macro 'EXPORT_SYMBOL_GPL'
EXPORT_SYMBOL_GPL(acpi_subsys_freeze_noirq);
^~~~~~~~~~~~~~~~~
include/linux/export.h:67:20: note: previous definition of '__kstrtab_acpi_subsys_freeze_noirq' was here
static const char __kstrtab_##sym[] \
^
include/linux/export.h:100:25: note: in expansion of macro '___EXPORT_SYMBOL'
#define __EXPORT_SYMBOL ___EXPORT_SYMBOL
^~~~~~~~~~~~~~~~
include/linux/export.h:107:2: note: in expansion of macro '__EXPORT_SYMBOL'
__EXPORT_SYMBOL(sym, "_gpl")
^~~~~~~~~~~~~~~
drivers/acpi/device_pm.c:1124:1: note: in expansion of macro 'EXPORT_SYMBOL_GPL'
EXPORT_SYMBOL_GPL(acpi_subsys_freeze_noirq);
^~~~~~~~~~~~~~~~~
include/linux/export.h:70:36: error: redefinition of '__ksymtab_acpi_subsys_freeze_noirq'
static const struct kernel_symbol __ksymtab_##sym \
^
include/linux/export.h:100:25: note: in expansion of macro '___EXPORT_SYMBOL'
#define __EXPORT_SYMBOL ___EXPORT_SYMBOL
^~~~~~~~~~~~~~~~
include/linux/export.h:107:2: note: in expansion of macro '__EXPORT_SYMBOL'
__EXPORT_SYMBOL(sym, "_gpl")
^~~~~~~~~~~~~~~
>> drivers/acpi/device_pm.c:1144:1: note: in expansion of macro 'EXPORT_SYMBOL_GPL'
EXPORT_SYMBOL_GPL(acpi_subsys_freeze_noirq);
^~~~~~~~~~~~~~~~~
include/linux/export.h:70:36: note: previous definition of '__ksymtab_acpi_subsys_freeze_noirq' was here
static const struct kernel_symbol __ksymtab_##sym \
^
include/linux/export.h:100:25: note: in expansion of macro '___EXPORT_SYMBOL'
#define __EXPORT_SYMBOL ___EXPORT_SYMBOL
^~~~~~~~~~~~~~~~
include/linux/export.h:107:2: note: in expansion of macro '__EXPORT_SYMBOL'
__EXPORT_SYMBOL(sym, "_gpl")
^~~~~~~~~~~~~~~
drivers/acpi/device_pm.c:1124:1: note: in expansion of macro 'EXPORT_SYMBOL_GPL'
EXPORT_SYMBOL_GPL(acpi_subsys_freeze_noirq);
^~~~~~~~~~~~~~~~~
--
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/resource_ext.h:17,
from include/linux/acpi.h:26,
from drivers//acpi/device_pm.c:21:
>> include/linux/export.h:67:20: error: redefinition of '__kstrtab_acpi_subsys_freeze_noirq'
static const char __kstrtab_##sym[] \
^
include/linux/export.h:100:25: note: in expansion of macro '___EXPORT_SYMBOL'
#define __EXPORT_SYMBOL ___EXPORT_SYMBOL
^~~~~~~~~~~~~~~~
include/linux/export.h:107:2: note: in expansion of macro '__EXPORT_SYMBOL'
__EXPORT_SYMBOL(sym, "_gpl")
^~~~~~~~~~~~~~~
drivers//acpi/device_pm.c:1144:1: note: in expansion of macro 'EXPORT_SYMBOL_GPL'
EXPORT_SYMBOL_GPL(acpi_subsys_freeze_noirq);
^~~~~~~~~~~~~~~~~
include/linux/export.h:67:20: note: previous definition of '__kstrtab_acpi_subsys_freeze_noirq' was here
static const char __kstrtab_##sym[] \
^
include/linux/export.h:100:25: note: in expansion of macro '___EXPORT_SYMBOL'
#define __EXPORT_SYMBOL ___EXPORT_SYMBOL
^~~~~~~~~~~~~~~~
include/linux/export.h:107:2: note: in expansion of macro '__EXPORT_SYMBOL'
__EXPORT_SYMBOL(sym, "_gpl")
^~~~~~~~~~~~~~~
drivers//acpi/device_pm.c:1124:1: note: in expansion of macro 'EXPORT_SYMBOL_GPL'
EXPORT_SYMBOL_GPL(acpi_subsys_freeze_noirq);
^~~~~~~~~~~~~~~~~
include/linux/export.h:70:36: error: redefinition of '__ksymtab_acpi_subsys_freeze_noirq'
static const struct kernel_symbol __ksymtab_##sym \
^
include/linux/export.h:100:25: note: in expansion of macro '___EXPORT_SYMBOL'
#define __EXPORT_SYMBOL ___EXPORT_SYMBOL
^~~~~~~~~~~~~~~~
include/linux/export.h:107:2: note: in expansion of macro '__EXPORT_SYMBOL'
__EXPORT_SYMBOL(sym, "_gpl")
^~~~~~~~~~~~~~~
drivers//acpi/device_pm.c:1144:1: note: in expansion of macro 'EXPORT_SYMBOL_GPL'
EXPORT_SYMBOL_GPL(acpi_subsys_freeze_noirq);
^~~~~~~~~~~~~~~~~
include/linux/export.h:70:36: note: previous definition of '__ksymtab_acpi_subsys_freeze_noirq' was here
static const struct kernel_symbol __ksymtab_##sym \
^
include/linux/export.h:100:25: note: in expansion of macro '___EXPORT_SYMBOL'
#define __EXPORT_SYMBOL ___EXPORT_SYMBOL
^~~~~~~~~~~~~~~~
include/linux/export.h:107:2: note: in expansion of macro '__EXPORT_SYMBOL'
__EXPORT_SYMBOL(sym, "_gpl")
^~~~~~~~~~~~~~~
drivers//acpi/device_pm.c:1124:1: note: in expansion of macro 'EXPORT_SYMBOL_GPL'
EXPORT_SYMBOL_GPL(acpi_subsys_freeze_noirq);
^~~~~~~~~~~~~~~~~
vim +/__kstrtab_acpi_subsys_freeze_noirq +67 include/linux/export.h
f5016932 Paul Gortmaker 2011-05-23 62
f5016932 Paul Gortmaker 2011-05-23 63 /* For every exported symbol, place a struct in the __ksymtab section */
f2355416 Nicolas Pitre 2016-01-22 64 #define ___EXPORT_SYMBOL(sym, sec) \
f5016932 Paul Gortmaker 2011-05-23 65 extern typeof(sym) sym; \
f5016932 Paul Gortmaker 2011-05-23 66 __CRC_SYMBOL(sym, sec) \
f5016932 Paul Gortmaker 2011-05-23 @67 static const char __kstrtab_##sym[] \
f5016932 Paul Gortmaker 2011-05-23 68 __attribute__((section("__ksymtab_strings"), aligned(1))) \
b92021b0 Rusty Russell 2013-03-15 69 = VMLINUX_SYMBOL_STR(sym); \
b67067f1 Nicholas Piggin 2016-08-24 70 static const struct kernel_symbol __ksymtab_##sym \
f5016932 Paul Gortmaker 2011-05-23 71 __used \
b67067f1 Nicholas Piggin 2016-08-24 72 __attribute__((section("___ksymtab" sec "+" #sym), used)) \
f5016932 Paul Gortmaker 2011-05-23 73 = { (unsigned long)&sym, __kstrtab_##sym }
f5016932 Paul Gortmaker 2011-05-23 74
:::::: The code at line 67 was first introduced by commit
:::::: f50169324df4ad942e544386d136216c8617636a module.h: split out the EXPORT_SYMBOL into export.h
:::::: TO: Paul Gortmaker <paul.gortmaker(a)windriver.com>
:::::: CC: Paul Gortmaker <paul.gortmaker(a)windriver.com>
---
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: 26294 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-10-26 12:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-26 12:04 [pm:bleeding-edge 87/88] include/linux/export.h:67:20: error: redefinition of '__kstrtab_acpi_subsys_freeze_noirq' kbuild test robot
2017-10-26 12:04 ` [Devel] " kbuild test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.