All of lore.kernel.org
 help / color / mirror / Atom feed
* drivers/net/wireless/intel/iwlwifi/mvm/rfi.c:14:1: warning: 'static' is not at beginning of declaration
@ 2021-08-24 12:06 ` kernel test robot
  0 siblings, 0 replies; 6+ messages in thread
From: kernel test robot @ 2021-08-24 12:06 UTC (permalink / raw)
  To: Gregory Greenman; +Cc: kbuild-all, linux-kernel, Luca Coelho

[-- Attachment #1: Type: text/plain, Size: 3379 bytes --]

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@intel.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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 39289 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* drivers/net/wireless/intel/iwlwifi/mvm/rfi.c:14:1: warning: 'static' is not at beginning of declaration
@ 2021-08-24 12:06 ` kernel test robot
  0 siblings, 0 replies; 6+ messages in thread
From: kernel test robot @ 2021-08-24 12:06 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 3463 bytes --]

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@intel.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(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 39289 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* drivers/net/wireless/intel/iwlwifi/mvm/rfi.c:14:1: warning: 'static' is not at beginning of declaration
@ 2021-06-28 14:17 ` kernel test robot
  0 siblings, 0 replies; 6+ messages in thread
From: kernel test robot @ 2021-06-28 14:17 UTC (permalink / raw)
  To: Gregory Greenman; +Cc: kbuild-all, linux-kernel, Luca Coelho

[-- Attachment #1: Type: text/plain, Size: 3366 bytes --]

Hi Gregory,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   62fb9874f5da54fdb243003b386128037319b219
commit: 21254908cbe995a3982a23da32c30d1b43467043 iwlwifi: mvm: add RFI-M support
date:   5 months ago
config: alpha-randconfig-r032-20210628 (attached as .config)
compiler: alpha-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/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-9.3.0 make.cross ARCH=alpha 

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 >>):

>> 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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 34892 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* drivers/net/wireless/intel/iwlwifi/mvm/rfi.c:14:1: warning: 'static' is not at beginning of declaration
@ 2021-06-28 14:17 ` kernel test robot
  0 siblings, 0 replies; 6+ messages in thread
From: kernel test robot @ 2021-06-28 14:17 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 3450 bytes --]

Hi Gregory,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   62fb9874f5da54fdb243003b386128037319b219
commit: 21254908cbe995a3982a23da32c30d1b43467043 iwlwifi: mvm: add RFI-M support
date:   5 months ago
config: alpha-randconfig-r032-20210628 (attached as .config)
compiler: alpha-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/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-9.3.0 make.cross ARCH=alpha 

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 >>):

>> 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(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 34892 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* drivers/net/wireless/intel/iwlwifi/mvm/rfi.c:14:1: warning: 'static' is not at beginning of declaration
@ 2021-06-28  1:26 ` kernel test robot
  0 siblings, 0 replies; 6+ messages in thread
From: kernel test robot @ 2021-06-28  1:26 UTC (permalink / raw)
  To: Gregory Greenman; +Cc: kbuild-all, linux-kernel, Luca Coelho

[-- Attachment #1: Type: text/plain, Size: 3314 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   62fb9874f5da54fdb243003b386128037319b219
commit: 21254908cbe995a3982a23da32c30d1b43467043 iwlwifi: mvm: add RFI-M support
date:   5 months ago
config: alpha-randconfig-r032-20210628 (attached as .config)
compiler: alpha-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/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-9.3.0 make.cross ARCH=alpha 

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 >>):

>> 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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 34892 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* drivers/net/wireless/intel/iwlwifi/mvm/rfi.c:14:1: warning: 'static' is not at beginning of declaration
@ 2021-06-28  1:26 ` kernel test robot
  0 siblings, 0 replies; 6+ messages in thread
From: kernel test robot @ 2021-06-28  1:26 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 3394 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   62fb9874f5da54fdb243003b386128037319b219
commit: 21254908cbe995a3982a23da32c30d1b43467043 iwlwifi: mvm: add RFI-M support
date:   5 months ago
config: alpha-randconfig-r032-20210628 (attached as .config)
compiler: alpha-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/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-9.3.0 make.cross ARCH=alpha 

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 >>):

>> 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(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 34892 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-08-24 12:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-24 12:06 drivers/net/wireless/intel/iwlwifi/mvm/rfi.c:14:1: warning: 'static' is not at beginning of declaration kernel test robot
2021-08-24 12:06 ` kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2021-06-28 14:17 kernel test robot
2021-06-28 14:17 ` kernel test robot
2021-06-28  1:26 kernel test robot
2021-06-28  1:26 ` 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.