[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201709292210.WOTlTsYp%fengguang.wu@intel.com>
Date: Fri, 29 Sep 2017 22:53:48 +0800
From: kbuild test robot <lkp@...el.com>
To: Mario Limonciello <mario.limonciello@...l.com>
Cc: kbuild-all@...org, dvhart@...radead.org,
Andy Shevchenko <andy.shevchenko@...il.com>,
LKML <linux-kernel@...r.kernel.org>,
platform-driver-x86@...r.kernel.org, quasisec@...gle.com,
pali.rohar@...il.com,
Mario Limonciello <mario.limonciello@...l.com>
Subject: Re: [PATCH v2 09/14] platform/x86: dell-smbios: rename to
dell-wmi-smbios
Hi Mario,
[auto build test WARNING on platform-drivers-x86/for-next]
[also build test WARNING on v4.14-rc2 next-20170928]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Mario-Limonciello/Introduce-support-for-Dell-SMBIOS-over-WMI/20170929-221513
base: git://git.infradead.org/users/dvhart/linux-platform-drivers-x86.git for-next
config: x86_64-randconfig-x001-201739 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All warnings (new ones prefixed by >>):
______f = { \
^
include/linux/compiler.h:154:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^~~~~~~~~~
include/linux/string.h:293:3: note: in expansion of macro 'if'
if (len >= p_size)
^~
include/linux/compiler.h:162:4: warning: '______f' is static but declared in inline function 'strlcpy' which is not static
______f = { \
^
include/linux/compiler.h:154:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^~~~~~~~~~
include/linux/string.h:291:3: note: in expansion of macro 'if'
if (__builtin_constant_p(len) && len >= p_size)
^~
include/linux/compiler.h:162:4: warning: '______f' is static but declared in inline function 'strlcpy' which is not static
______f = { \
^
include/linux/compiler.h:154:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^~~~~~~~~~
include/linux/string.h:289:2: note: in expansion of macro 'if'
if (size) {
^~
include/linux/compiler.h:162:4: warning: '______f' is static but declared in inline function 'strlcpy' which is not static
______f = { \
^
include/linux/compiler.h:154:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^~~~~~~~~~
include/linux/string.h:286:2: note: in expansion of macro 'if'
if (p_size == (size_t)-1 && q_size == (size_t)-1)
^~
include/linux/compiler.h:162:4: warning: '______f' is static but declared in inline function 'strnlen' which is not static
______f = { \
^
include/linux/compiler.h:154:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^~~~~~~~~~
include/linux/string.h:274:2: note: in expansion of macro 'if'
if (p_size <= ret && maxlen != ret)
^~
include/linux/compiler.h:162:4: warning: '______f' is static but declared in inline function 'strlen' which is not static
______f = { \
^
include/linux/compiler.h:154:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^~~~~~~~~~
include/linux/string.h:264:2: note: in expansion of macro 'if'
if (p_size <= ret)
^~
include/linux/compiler.h:162:4: warning: '______f' is static but declared in inline function 'strlen' which is not static
______f = { \
^
include/linux/compiler.h:154:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^~~~~~~~~~
include/linux/string.h:261:2: note: in expansion of macro 'if'
if (p_size == (size_t)-1)
^~
include/linux/compiler.h:162:4: warning: '______f' is static but declared in inline function 'strcat' which is not static
______f = { \
^
include/linux/compiler.h:154:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^~~~~~~~~~
include/linux/string.h:252:2: note: in expansion of macro 'if'
if (strlcat(p, q, p_size) >= p_size)
^~
include/linux/compiler.h:162:4: warning: '______f' is static but declared in inline function 'strcat' which is not static
______f = { \
^
include/linux/compiler.h:154:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^~~~~~~~~~
include/linux/string.h:250:2: note: in expansion of macro 'if'
if (p_size == (size_t)-1)
^~
include/linux/compiler.h:162:4: warning: '______f' is static but declared in inline function 'strncpy' which is not static
______f = { \
^
include/linux/compiler.h:154:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^~~~~~~~~~
include/linux/string.h:242:2: note: in expansion of macro 'if'
if (p_size < size)
^~
include/linux/compiler.h:162:4: warning: '______f' is static but declared in inline function 'strncpy' which is not static
______f = { \
^
include/linux/compiler.h:154:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^~~~~~~~~~
include/linux/string.h:240:2: note: in expansion of macro 'if'
if (__builtin_constant_p(size) && p_size < size)
^~
In file included from drivers/platform//x86/dell-wmi-smbios.c:23:0:
drivers/platform//x86/dell-wmi-smbios.c: In function 'dell_wmi_smbios_init':
>> include/linux/wmi.h:53:37: warning: ignoring return value of '__wmi_driver_register', declared with attribute warn_unused_result [-Wunused-result]
#define wmi_driver_register(driver) __wmi_driver_register((driver), THIS_MODULE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/platform//x86/dell-wmi-smbios.c:281:2: note: in expansion of macro 'wmi_driver_register'
wmi_driver_register(&dell_wmi_smbios_driver);
^~~~~~~~~~~~~~~~~~~
--
______f = { \
^
include/linux/compiler.h:154:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^~~~~~~~~~
include/linux/string.h:293:3: note: in expansion of macro 'if'
if (len >= p_size)
^~
include/linux/compiler.h:162:4: warning: '______f' is static but declared in inline function 'strlcpy' which is not static
______f = { \
^
include/linux/compiler.h:154:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^~~~~~~~~~
include/linux/string.h:291:3: note: in expansion of macro 'if'
if (__builtin_constant_p(len) && len >= p_size)
^~
include/linux/compiler.h:162:4: warning: '______f' is static but declared in inline function 'strlcpy' which is not static
______f = { \
^
include/linux/compiler.h:154:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^~~~~~~~~~
include/linux/string.h:289:2: note: in expansion of macro 'if'
if (size) {
^~
include/linux/compiler.h:162:4: warning: '______f' is static but declared in inline function 'strlcpy' which is not static
______f = { \
^
include/linux/compiler.h:154:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^~~~~~~~~~
include/linux/string.h:286:2: note: in expansion of macro 'if'
if (p_size == (size_t)-1 && q_size == (size_t)-1)
^~
include/linux/compiler.h:162:4: warning: '______f' is static but declared in inline function 'strnlen' which is not static
______f = { \
^
include/linux/compiler.h:154:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^~~~~~~~~~
include/linux/string.h:274:2: note: in expansion of macro 'if'
if (p_size <= ret && maxlen != ret)
^~
include/linux/compiler.h:162:4: warning: '______f' is static but declared in inline function 'strlen' which is not static
______f = { \
^
include/linux/compiler.h:154:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^~~~~~~~~~
include/linux/string.h:264:2: note: in expansion of macro 'if'
if (p_size <= ret)
^~
include/linux/compiler.h:162:4: warning: '______f' is static but declared in inline function 'strlen' which is not static
______f = { \
^
include/linux/compiler.h:154:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^~~~~~~~~~
include/linux/string.h:261:2: note: in expansion of macro 'if'
if (p_size == (size_t)-1)
^~
include/linux/compiler.h:162:4: warning: '______f' is static but declared in inline function 'strcat' which is not static
______f = { \
^
include/linux/compiler.h:154:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^~~~~~~~~~
include/linux/string.h:252:2: note: in expansion of macro 'if'
if (strlcat(p, q, p_size) >= p_size)
^~
include/linux/compiler.h:162:4: warning: '______f' is static but declared in inline function 'strcat' which is not static
______f = { \
^
include/linux/compiler.h:154:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^~~~~~~~~~
include/linux/string.h:250:2: note: in expansion of macro 'if'
if (p_size == (size_t)-1)
^~
include/linux/compiler.h:162:4: warning: '______f' is static but declared in inline function 'strncpy' which is not static
______f = { \
^
include/linux/compiler.h:154:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^~~~~~~~~~
include/linux/string.h:242:2: note: in expansion of macro 'if'
if (p_size < size)
^~
include/linux/compiler.h:162:4: warning: '______f' is static but declared in inline function 'strncpy' which is not static
______f = { \
^
include/linux/compiler.h:154:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^~~~~~~~~~
include/linux/string.h:240:2: note: in expansion of macro 'if'
if (__builtin_constant_p(size) && p_size < size)
^~
In file included from drivers/platform/x86/dell-wmi-smbios.c:23:0:
drivers/platform/x86/dell-wmi-smbios.c: In function 'dell_wmi_smbios_init':
>> include/linux/wmi.h:53:37: warning: ignoring return value of '__wmi_driver_register', declared with attribute warn_unused_result [-Wunused-result]
#define wmi_driver_register(driver) __wmi_driver_register((driver), THIS_MODULE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/platform/x86/dell-wmi-smbios.c:281:2: note: in expansion of macro 'wmi_driver_register'
wmi_driver_register(&dell_wmi_smbios_driver);
^~~~~~~~~~~~~~~~~~~
vim +/__wmi_driver_register +53 include/linux/wmi.h
844af950 Andy Lutomirski 2015-11-24 49
844af950 Andy Lutomirski 2015-11-24 50 extern int __must_check __wmi_driver_register(struct wmi_driver *driver,
844af950 Andy Lutomirski 2015-11-24 51 struct module *owner);
844af950 Andy Lutomirski 2015-11-24 52 extern void wmi_driver_unregister(struct wmi_driver *driver);
844af950 Andy Lutomirski 2015-11-24 @53 #define wmi_driver_register(driver) __wmi_driver_register((driver), THIS_MODULE)
844af950 Andy Lutomirski 2015-11-24 54
:::::: The code at line 53 was first introduced by commit
:::::: 844af950da946cfab227a04b950614da04cb6275 platform/x86: wmi: Turn WMI into a bus driver
:::::: TO: Andy Lutomirski <luto@...nel.org>
:::::: CC: Darren Hart (VMware) <dvhart@...radead.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" (29190 bytes)
Powered by blists - more mailing lists