Hi Carl, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on mac80211-next/master] [also build test WARNING on next-20201120] [cannot apply to mac80211/master ath6kl/ath-next v5.10-rc4] [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/Carl-Huang/add-common-API-to-configure-SAR/20201120-165603 base: https://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git master config: x86_64-randconfig-a003-20201120 (attached as .config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 reproduce (this is a W=1 build): # https://github.com/0day-ci/linux/commit/8b155e0a69c2458f78fc75d408933a5a9525d067 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Carl-Huang/add-common-API-to-configure-SAR/20201120-165603 git checkout 8b155e0a69c2458f78fc75d408933a5a9525d067 # 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@xxxxxxxxx> All warnings (new ones prefixed by >>): >> drivers/net/wireless/ath/ath10k/mac.c:84:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] 84 | const static struct cfg80211_sar_freq_ranges ath10k_sar_freq_ranges[] = { | ^~~~~ drivers/net/wireless/ath/ath10k/mac.c:89:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] 89 | const static struct cfg80211_sar_capa ath10k_sar_capa = { | ^~~~~ vim +/static +84 drivers/net/wireless/ath/ath10k/mac.c 83 > 84 const static struct cfg80211_sar_freq_ranges ath10k_sar_freq_ranges[] = { 85 {.start_freq = 2402, .end_freq = 2494 }, 86 {.start_freq = 5170, .end_freq = 5875 }, 87 }; 88 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip