Hi Thomas, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on next-20200827] [cannot apply to mac80211-next/master mac80211/master wireless-drivers-next/master wireless-drivers/master v5.9-rc2 v5.9-rc1 v5.8 v5.9-rc2] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Thomas-Pedersen/add-initial-S1G-support/20200828-063630 base: 88abac0b753dfdd85362a26d2da8277cb1e0842b config: riscv-allyesconfig (attached as .config) compiler: riscv64-linux-gcc (GCC) 9.3.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 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All warnings (new ones prefixed by >>): In file included from drivers/net/wireless/ath/ath10k/sdio.c:17: >> drivers/net/wireless/ath/ath10k/core.h:31: warning: "MS" redefined 31 | #define MS(_v, _f) (((_v) & _f##_MASK) >> _f##_LSB) | In file included from include/net/mac80211.h:20, from drivers/net/wireless/ath/ath10k/htt.h:16, from drivers/net/wireless/ath/ath10k/core.h:18, from drivers/net/wireless/ath/ath10k/sdio.c:17: include/linux/ieee80211.h:2389: note: this is the location of the previous definition 2389 | #define MS(f, v) (((v) & f) >> f##_SHIFT) | In file included from drivers/net/wireless/ath/ath10k/sdio.c:17: >> drivers/net/wireless/ath/ath10k/core.h:32: warning: "SM" redefined 32 | #define SM(_v, _f) (((_v) << _f##_LSB) & _f##_MASK) | In file included from include/net/mac80211.h:20, from drivers/net/wireless/ath/ath10k/htt.h:16, from drivers/net/wireless/ath/ath10k/core.h:18, from drivers/net/wireless/ath/ath10k/sdio.c:17: include/linux/ieee80211.h:2388: note: this is the location of the previous definition 2388 | #define SM(f, v) (((v) << f##_SHIFT) & f) | include/linux/ieee80211.h:2488:18: warning: 'listen_int_usf' defined but not used [-Wunused-const-variable=] 2488 | static const int listen_int_usf[] = { 1, 10, 1000, 10000 }; | ^~~~~~~~~~~~~~ In file included from include/linux/energy_model.h:10, from include/linux/device.h:16, from include/linux/mmc/card.h:10, from drivers/net/wireless/ath/ath10k/sdio.c:9: include/linux/sched/topology.h:40:3: warning: 'sd_flag_debug' defined but not used [-Wunused-const-variable=] 40 | } sd_flag_debug[] = { | ^~~~~~~~~~~~~ In file included from include/linux/energy_model.h:10, from include/linux/device.h:16, from include/linux/mmc/card.h:10, from drivers/net/wireless/ath/ath10k/sdio.c:9: include/linux/sched/topology.h:30:27: warning: 'SD_DEGENERATE_GROUPS_MASK' defined but not used [-Wunused-const-variable=] 30 | static const unsigned int SD_DEGENERATE_GROUPS_MASK = | ^~~~~~~~~~~~~~~~~~~~~~~~~ -- In file included from drivers/net/wireless/ath/ath10k/trace.h:10, from drivers/net/wireless/ath/ath10k/trace.c:9: >> drivers/net/wireless/ath/ath10k/core.h:31: warning: "MS" redefined 31 | #define MS(_v, _f) (((_v) & _f##_MASK) >> _f##_LSB) | In file included from include/net/mac80211.h:20, from drivers/net/wireless/ath/ath10k/htt.h:16, from drivers/net/wireless/ath/ath10k/core.h:18, from drivers/net/wireless/ath/ath10k/trace.h:10, from drivers/net/wireless/ath/ath10k/trace.c:9: include/linux/ieee80211.h:2389: note: this is the location of the previous definition 2389 | #define MS(f, v) (((v) & f) >> f##_SHIFT) | In file included from drivers/net/wireless/ath/ath10k/trace.h:10, from drivers/net/wireless/ath/ath10k/trace.c:9: >> drivers/net/wireless/ath/ath10k/core.h:32: warning: "SM" redefined 32 | #define SM(_v, _f) (((_v) << _f##_LSB) & _f##_MASK) | In file included from include/net/mac80211.h:20, from drivers/net/wireless/ath/ath10k/htt.h:16, from drivers/net/wireless/ath/ath10k/core.h:18, from drivers/net/wireless/ath/ath10k/trace.h:10, from drivers/net/wireless/ath/ath10k/trace.c:9: include/linux/ieee80211.h:2388: note: this is the location of the previous definition 2388 | #define SM(f, v) (((v) << f##_SHIFT) & f) | -- In file included from drivers/net/wireless/ath/ath11k/mhi.c:7: >> drivers/net/wireless/ath/ath11k/core.h:27: warning: "SM" redefined 27 | #define SM(_v, _f) (((_v) << _f##_LSB) & _f##_MASK) | In file included from include/net/mac80211.h:20, from drivers/net/wireless/ath/ath11k/wmi.h:9, from drivers/net/wireless/ath/ath11k/core.h:15, from drivers/net/wireless/ath/ath11k/mhi.c:7: include/linux/ieee80211.h:2388: note: this is the location of the previous definition 2388 | #define SM(f, v) (((v) << f##_SHIFT) & f) | include/linux/ieee80211.h:2488:18: warning: 'listen_int_usf' defined but not used [-Wunused-const-variable=] 2488 | static const int listen_int_usf[] = { 1, 10, 1000, 10000 }; | ^~~~~~~~~~~~~~ In file included from include/linux/energy_model.h:10, from include/linux/device.h:16, from include/linux/pci.h:37, from drivers/net/wireless/ath/ath11k/mhi.c:5: include/linux/sched/topology.h:40:3: warning: 'sd_flag_debug' defined but not used [-Wunused-const-variable=] 40 | } sd_flag_debug[] = { | ^~~~~~~~~~~~~ In file included from include/linux/energy_model.h:10, from include/linux/device.h:16, from include/linux/pci.h:37, from drivers/net/wireless/ath/ath11k/mhi.c:5: include/linux/sched/topology.h:30:27: warning: 'SD_DEGENERATE_GROUPS_MASK' defined but not used [-Wunused-const-variable=] 30 | static const unsigned int SD_DEGENERATE_GROUPS_MASK = | ^~~~~~~~~~~~~~~~~~~~~~~~~ -- In file included from drivers/net/wireless/ath/ath11k/core.c:10: >> drivers/net/wireless/ath/ath11k/core.h:27: warning: "SM" redefined 27 | #define SM(_v, _f) (((_v) << _f##_LSB) & _f##_MASK) | In file included from include/net/mac80211.h:20, from drivers/net/wireless/ath/ath11k/wmi.h:9, from drivers/net/wireless/ath/ath11k/core.h:15, from drivers/net/wireless/ath/ath11k/core.c:10: include/linux/ieee80211.h:2388: note: this is the location of the previous definition 2388 | #define SM(f, v) (((v) << f##_SHIFT) & f) | # https://github.com/0day-ci/linux/commit/dc5ef7078b77772b5e2ff5a57cd87144c4c9a583 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Thomas-Pedersen/add-initial-S1G-support/20200828-063630 git checkout dc5ef7078b77772b5e2ff5a57cd87144c4c9a583 vim +/MS +31 drivers/net/wireless/ath/ath10k/core.h 5e3dd157d7e70f0 Kalle Valo 2013-06-12 30 5e3dd157d7e70f0 Kalle Valo 2013-06-12 @31 #define MS(_v, _f) (((_v) & _f##_MASK) >> _f##_LSB) 5e3dd157d7e70f0 Kalle Valo 2013-06-12 @32 #define SM(_v, _f) (((_v) << _f##_LSB) & _f##_MASK) 5e3dd157d7e70f0 Kalle Valo 2013-06-12 33 #define WO(_f) ((_f##_OFFSET) >> 2) 5e3dd157d7e70f0 Kalle Valo 2013-06-12 34 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip