* [iwlwifi-chromeos:chromeos-kernelupstream-5.14-rc6__master 1/1] include/asm-generic/bug.h:121:6: warning: statement will never be executed
@ 2021-09-29 22:56 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-09-29 22:56 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 5600 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/chromeos.git chromeos-kernelupstream-5.14-rc6__master
head: 559fc6b20030249e9152cf36ab505d8d6a828ff2
commit: 559fc6b20030249e9152cf36ab505d8d6a828ff2 [1/1] CHROMIUMOS: iwl7000: add driver
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/chromeos.git/commit/?id=559fc6b20030249e9152cf36ab505d8d6a828ff2
git remote add iwlwifi-chromeos https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/chromeos.git
git fetch --no-tags iwlwifi-chromeos chromeos-kernelupstream-5.14-rc6__master
git checkout 559fc6b20030249e9152cf36ab505d8d6a828ff2
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
drivers/net/wireless/iwl7000/iwlwifi/iwl-dnt-cfg.c: In function 'iwl_dnt_configure':
>> drivers/net/wireless/iwl7000/iwlwifi/iwl-dnt-cfg.c:307:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
307 | if (!dnt->mon_buf_cpu_addr) {
| ^
drivers/net/wireless/iwl7000/iwlwifi/iwl-dnt-cfg.c:312:2: note: here
312 | case NO_MONITOR:
| ^~~~
drivers/net/wireless/iwl7000/iwlwifi/iwl-dnt-cfg.c: At top level:
cc1: warning: unrecognized command line option '-Wno-enum-conversion'
--
>> drivers/net/wireless/iwl7000/iwlwifi/iwl-tm-gnl.c:521: warning: expecting prototype for iwl_tm_gnl_create_message(). Prototype was for iwl_tm_gnl_create_msg() instead
drivers/net/wireless/iwl7000/iwlwifi/iwl-tm-gnl.c:577: warning: Function parameter or member 'data_len' not described in 'iwl_tm_gnl_send_msg'
drivers/net/wireless/iwl7000/iwlwifi/iwl-tm-gnl.c:577: warning: Function parameter or member 'flags' not described in 'iwl_tm_gnl_send_msg'
drivers/net/wireless/iwl7000/iwlwifi/iwl-tm-gnl.c:769: warning: Function parameter or member 'dev' not described in 'iwl_tm_trace_dump'
drivers/net/wireless/iwl7000/iwlwifi/iwl-tm-gnl.c:769: warning: Excess function parameter 'tst' description in 'iwl_tm_trace_dump'
drivers/net/wireless/iwl7000/iwlwifi/iwl-tm-gnl.c:866: warning: Function parameter or member 'skb' not described in 'iwl_tm_gnl_cmd_do'
drivers/net/wireless/iwl7000/iwlwifi/iwl-tm-gnl.c:866: warning: Function parameter or member 'info' not described in 'iwl_tm_gnl_cmd_do'
drivers/net/wireless/iwl7000/iwlwifi/iwl-tm-gnl.c:898: warning: Function parameter or member 'skb' not described in 'iwl_tm_gnl_dump'
drivers/net/wireless/iwl7000/iwlwifi/iwl-tm-gnl.c:898: warning: Function parameter or member 'cb' not described in 'iwl_tm_gnl_dump'
>> drivers/net/wireless/iwl7000/iwlwifi/iwl-tm-gnl.c:1188: warning: expecting prototype for iwl_tm_fw_send_rx(). Prototype was for iwl_tm_gnl_send_rx() instead
--
In file included from arch/x86/include/asm/bug.h:84,
from include/linux/bug.h:5,
from include/linux/mmdebug.h:5,
from include/linux/percpu.h:5,
from include/linux/radix-tree.h:14,
from include/linux/idr.h:15,
from drivers/net/wireless/iwl7000/hdrs/iwl-chrome.h:13,
from <command-line>:
drivers/net/wireless/iwl7000/mac80211/util.c: In function 'ieee80211_ie_build_he_oper':
>> include/asm-generic/bug.h:121:6: warning: statement will never be executed [-Wswitch-unreachable]
121 | int __ret_warn_on = !!(condition); \
| ^~~~~~~~~~~~~
drivers/net/wireless/iwl7000/mac80211/util.c:3293:3: note: in expansion of macro 'WARN_ON'
3293 | WARN_ON(1);
| ^~~~~~~
drivers/net/wireless/iwl7000/mac80211/util.c: At top level:
cc1: warning: unrecognized command line option '-Wno-enum-conversion'
--
>> drivers/net/wireless/iwl7000/iwlwifi/mvm/rfi.c:11: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* DDR needs frequency in units of 16.666MHz, so provide FW with the
vim +121 include/asm-generic/bug.h
2553b67a1fbe7b Josh Poimboeuf 2016-03-17 115
2553b67a1fbe7b Josh Poimboeuf 2016-03-17 116 void __warn(const char *file, int line, void *caller, unsigned taint,
2553b67a1fbe7b Josh Poimboeuf 2016-03-17 117 struct pt_regs *regs, struct warn_args *args);
2553b67a1fbe7b Josh Poimboeuf 2016-03-17 118
3a6a62f96f168d Olof Johansson 2008-01-30 119 #ifndef WARN_ON
3a6a62f96f168d Olof Johansson 2008-01-30 120 #define WARN_ON(condition) ({ \
3a6a62f96f168d Olof Johansson 2008-01-30 @121 int __ret_warn_on = !!(condition); \
3a6a62f96f168d Olof Johansson 2008-01-30 122 if (unlikely(__ret_warn_on)) \
3a6a62f96f168d Olof Johansson 2008-01-30 123 __WARN(); \
684f978347deb4 Herbert Xu 2006-09-29 124 unlikely(__ret_warn_on); \
684f978347deb4 Herbert Xu 2006-09-29 125 })
^1da177e4c3f41 Linus Torvalds 2005-04-16 126 #endif
^1da177e4c3f41 Linus Torvalds 2005-04-16 127
:::::: The code at line 121 was first introduced by commit
:::::: 3a6a62f96f168d192fb0cc9c0b5ee2584740b32d debug: introduce __WARN()
:::::: TO: Olof Johansson <olof@lixom.net>
:::::: CC: Ingo Molnar <mingo@elte.hu>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 66726 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-09-29 22:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-29 22:56 [iwlwifi-chromeos:chromeos-kernelupstream-5.14-rc6__master 1/1] include/asm-generic/bug.h:121:6: warning: statement will never be executed kernel 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.