* [mac80211-next:master 9/11] net/wireless/./trace.h:3637:30: warning: implicit conversion from 'enum nl80211_commands' to 'enum nl80211_bss_scan_width'
@ 2021-08-17 21:16 ` kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-08-17 21:16 UTC (permalink / raw)
To: John Crispin; +Cc: kbuild-all, linux-wireless, Johannes Berg, Lorenzo Bianconi
[-- Attachment #1: Type: text/plain, Size: 3221 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git master
head: f50d2ff8f016b79a2ff4acd5943a1eda40c545d4
commit: 0d2ab3aea50bb02ff0c9c3d53c7b2b4b21cdd59d [9/11] nl80211: add support for BSS coloring
config: arc-randconfig-r043-20210816 (attached as .config)
compiler: arc-elf-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git/commit/?id=0d2ab3aea50bb02ff0c9c3d53c7b2b4b21cdd59d
git remote add mac80211-next https://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git
git fetch --no-tags mac80211-next master
git checkout 0d2ab3aea50bb02ff0c9c3d53c7b2b4b21cdd59d
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arc
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 >>):
In file included from include/trace/define_trace.h:102,
from net/wireless/trace.h:3652,
from net/wireless/trace.c:5:
net/wireless/./trace.h: In function 'trace_event_raw_event_cfg80211_bss_color_notify':
>> net/wireless/./trace.h:3637:30: warning: implicit conversion from 'enum nl80211_commands' to 'enum nl80211_bss_scan_width' [-Wenum-conversion]
3637 | __entry->cmd = cmd;
| ^
include/trace/trace_events.h:721:11: note: in definition of macro 'DECLARE_EVENT_CLASS'
721 | { assign; } \
| ^~~~~~
include/trace/trace_events.h:79:30: note: in expansion of macro 'PARAMS'
79 | PARAMS(assign), \
| ^~~~~~
net/wireless/./trace.h:3624:1: note: in expansion of macro 'TRACE_EVENT'
3624 | TRACE_EVENT(cfg80211_bss_color_notify,
| ^~~~~~~~~~~
net/wireless/./trace.h:3635:9: note: in expansion of macro 'TP_fast_assign'
3635 | TP_fast_assign(
| ^~~~~~~~~~~~~~
vim +3637 net/wireless/./trace.h
3623
3624 TRACE_EVENT(cfg80211_bss_color_notify,
3625 TP_PROTO(struct net_device *netdev,
3626 enum nl80211_commands cmd,
3627 u8 count, u64 color_bitmap),
3628 TP_ARGS(netdev, cmd, count, color_bitmap),
3629 TP_STRUCT__entry(
3630 NETDEV_ENTRY
3631 __field(enum nl80211_bss_scan_width, cmd)
3632 __field(u8, count)
3633 __field(u64, color_bitmap)
3634 ),
3635 TP_fast_assign(
3636 NETDEV_ASSIGN;
> 3637 __entry->cmd = cmd;
3638 __entry->count = count;
3639 __entry->color_bitmap = color_bitmap;
3640 ),
3641 TP_printk(NETDEV_PR_FMT ", cmd: %x, count: %u, bitmap: %llx",
3642 NETDEV_PR_ARG, __entry->cmd, __entry->count,
3643 __entry->color_bitmap)
3644 );
3645
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 32904 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* [mac80211-next:master 9/11] net/wireless/./trace.h:3637:30: warning: implicit conversion from 'enum nl80211_commands' to 'enum nl80211_bss_scan_width'
@ 2021-08-17 21:16 ` kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-08-17 21:16 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3293 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git master
head: f50d2ff8f016b79a2ff4acd5943a1eda40c545d4
commit: 0d2ab3aea50bb02ff0c9c3d53c7b2b4b21cdd59d [9/11] nl80211: add support for BSS coloring
config: arc-randconfig-r043-20210816 (attached as .config)
compiler: arc-elf-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git/commit/?id=0d2ab3aea50bb02ff0c9c3d53c7b2b4b21cdd59d
git remote add mac80211-next https://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git
git fetch --no-tags mac80211-next master
git checkout 0d2ab3aea50bb02ff0c9c3d53c7b2b4b21cdd59d
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arc
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 >>):
In file included from include/trace/define_trace.h:102,
from net/wireless/trace.h:3652,
from net/wireless/trace.c:5:
net/wireless/./trace.h: In function 'trace_event_raw_event_cfg80211_bss_color_notify':
>> net/wireless/./trace.h:3637:30: warning: implicit conversion from 'enum nl80211_commands' to 'enum nl80211_bss_scan_width' [-Wenum-conversion]
3637 | __entry->cmd = cmd;
| ^
include/trace/trace_events.h:721:11: note: in definition of macro 'DECLARE_EVENT_CLASS'
721 | { assign; } \
| ^~~~~~
include/trace/trace_events.h:79:30: note: in expansion of macro 'PARAMS'
79 | PARAMS(assign), \
| ^~~~~~
net/wireless/./trace.h:3624:1: note: in expansion of macro 'TRACE_EVENT'
3624 | TRACE_EVENT(cfg80211_bss_color_notify,
| ^~~~~~~~~~~
net/wireless/./trace.h:3635:9: note: in expansion of macro 'TP_fast_assign'
3635 | TP_fast_assign(
| ^~~~~~~~~~~~~~
vim +3637 net/wireless/./trace.h
3623
3624 TRACE_EVENT(cfg80211_bss_color_notify,
3625 TP_PROTO(struct net_device *netdev,
3626 enum nl80211_commands cmd,
3627 u8 count, u64 color_bitmap),
3628 TP_ARGS(netdev, cmd, count, color_bitmap),
3629 TP_STRUCT__entry(
3630 NETDEV_ENTRY
3631 __field(enum nl80211_bss_scan_width, cmd)
3632 __field(u8, count)
3633 __field(u64, color_bitmap)
3634 ),
3635 TP_fast_assign(
3636 NETDEV_ASSIGN;
> 3637 __entry->cmd = cmd;
3638 __entry->count = count;
3639 __entry->color_bitmap = color_bitmap;
3640 ),
3641 TP_printk(NETDEV_PR_FMT ", cmd: %x, count: %u, bitmap: %llx",
3642 NETDEV_PR_ARG, __entry->cmd, __entry->count,
3643 __entry->color_bitmap)
3644 );
3645
---
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: 32904 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-08-17 21:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-17 21:16 [mac80211-next:master 9/11] net/wireless/./trace.h:3637:30: warning: implicit conversion from 'enum nl80211_commands' to 'enum nl80211_bss_scan_width' kernel test robot
2021-08-17 21:16 ` 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.