LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Gregory Greenman <gregory.greenman@intel.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Luca Coelho <luciano.coelho@intel.com>
Subject: drivers/net/wireless/intel/iwlwifi/mvm/rfi.c:14:1: warning: 'static' is not at beginning of declaration
Date: Tue, 24 Aug 2021 20:06:12 +0800	[thread overview]
Message-ID: <202108242004.KGQ79pgh-lkp@intel.com> (raw)

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

             reply	other threads:[~2021-08-24 12:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-24 12:06 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-06-28 14:17 kernel test robot
2021-06-28  1:26 kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202108242004.KGQ79pgh-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=gregory.greenman@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luciano.coelho@intel.com \
    --subject='Re: drivers/net/wireless/intel/iwlwifi/mvm/rfi.c:14:1: warning: '\''static'\'' is not at beginning of declaration' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).