[ath6kl:pending 11/12] drivers/net/wireless/ath/ath10k/mac.c:84:1: warning: 'static' is not at beginning of declaration
kernel test robot
lkp at intel.com
Thu Jan 14 04:58:37 EST 2021
tree: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git pending
head: 8cb5471ba971dcb8f75bdd39ad21200378ce0e35
commit: ad7bc7d7ca4d1de7ac48f8c0d0089b0d0e6a2905 [11/12] ath10k: allow dynamic SAR power limits via common API
config: nios2-allyesconfig (attached as .config)
compiler: nios2-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
# https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git/commit/?id=ad7bc7d7ca4d1de7ac48f8c0d0089b0d0e6a2905
git remote add ath6kl https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
git fetch --no-tags ath6kl pending
git checkout ad7bc7d7ca4d1de7ac48f8c0d0089b0d0e6a2905
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=nios2
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>
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@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 58764 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/ath10k/attachments/20210114/b8983f0d/attachment-0001.gz>
More information about the ath10k
mailing list