[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202108242004.KGQ79pgh-lkp@intel.com>
Date: Tue, 24 Aug 2021 20:06:12 +0800
From: kernel test robot <lkp@...el.com>
To: Gregory Greenman <gregory.greenman@...el.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Luca Coelho <luciano.coelho@...el.com>
Subject: drivers/net/wireless/intel/iwlwifi/mvm/rfi.c:14:1: warning: 'static'
is not at beginning of declaration
Hi Gregory,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: d5ae8d7f85b7f6f6e60f1af8ff4be52b0926fde1
commit: 21254908cbe995a3982a23da32c30d1b43467043 iwlwifi: mvm: add RFI-M support
date: 7 months ago
config: parisc-buildonly-randconfig-r001-20210824 (attached as .config)
compiler: hppa-linux-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/torvalds/linux.git/commit/?id=21254908cbe995a3982a23da32c30d1b43467043
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 21254908cbe995a3982a23da32c30d1b43467043
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=parisc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
>> drivers/net/wireless/intel/iwlwifi/mvm/rfi.c:14:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
14 | const static struct iwl_rfi_lut_entry iwl_rfi_table[IWL_RFI_LUT_SIZE] = {
| ^~~~~
vim +/static +14 drivers/net/wireless/intel/iwlwifi/mvm/rfi.c
9
10 /**
11 * DDR needs frequency in units of 16.666MHz, so provide FW with the
12 * frequency values in the adjusted format.
13 */
> 14 const static struct iwl_rfi_lut_entry iwl_rfi_table[IWL_RFI_LUT_SIZE] = {
15 /* LPDDR4 */
16
17 /* frequency 3733MHz */
18 {cpu_to_le16(223), {114, 116, 118, 120, 122,},
19 {PHY_BAND_5, PHY_BAND_5, PHY_BAND_5, PHY_BAND_5, PHY_BAND_5,}},
20
21 /* frequency 4267MHz */
22 {cpu_to_le16(256), {79, 83, 85, 87, 89, 91, 93,},
23 {PHY_BAND_6, PHY_BAND_6, PHY_BAND_6, PHY_BAND_6, PHY_BAND_6,
24 PHY_BAND_6, PHY_BAND_6,}},
25
26 /* DDR5ePOR */
27
28 /* frequency 4000MHz */
29 {cpu_to_le16(240), {3, 5, 7, 9, 11, 13, 15,},
30 {PHY_BAND_6, PHY_BAND_6, PHY_BAND_6, PHY_BAND_6, PHY_BAND_6,
31 PHY_BAND_6, PHY_BAND_6,}},
32
33 /* frequency 4400MHz */
34 {cpu_to_le16(264), {111, 119, 123, 125, 129, 131, 133, 135, 143,},
35 {PHY_BAND_6, PHY_BAND_6, PHY_BAND_6, PHY_BAND_6, PHY_BAND_6,
36 PHY_BAND_6, PHY_BAND_6, PHY_BAND_6, PHY_BAND_6,}},
37
38 /* LPDDR5iPOR */
39
40 /* frequency 5200MHz */
41 {cpu_to_le16(312), {36, 38, 40, 42, 50,},
42 {PHY_BAND_5, PHY_BAND_5, PHY_BAND_5, PHY_BAND_5, PHY_BAND_5,}},
43
44 /* frequency 6000MHz */
45 {cpu_to_le16(360), {3, 5, 7, 9, 11, 13, 15,},
46 {PHY_BAND_6, PHY_BAND_6, PHY_BAND_6, PHY_BAND_6, PHY_BAND_6,
47 PHY_BAND_6, PHY_BAND_6,}},
48
49 /* frequency 6400MHz */
50 {cpu_to_le16(384), {79, 83, 85, 87, 89, 91, 93,},
51 {PHY_BAND_6, PHY_BAND_6, PHY_BAND_6, PHY_BAND_6, PHY_BAND_6,
52 PHY_BAND_6, PHY_BAND_6,}},
53 };
54
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (39289 bytes)
Powered by blists - more mailing lists