mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Ban Tao <fengzheng923@gmail.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Mark Brown <broonie@kernel.org>
Subject: [broonie-ci:filetF4IoJ 28/33] sound/soc/sunxi/sun50i-dmic.c:62:1: warning: 'static' is not at beginning of declaration
Date: Tue, 20 Sep 2022 04:28:37 +0800	[thread overview]
Message-ID: <202209200416.3fJxLmUY-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/ci.git filetF4IoJ
head:   717a8ff20f32792d6a94f2883e771482c37d844b
commit: 9fc2c8ed923d8ec8a49cf5b5076c84867126ca69 [28/33] ASoC: sunxi: Add Allwinner H6 Digital MIC driver
config: ia64-allyesconfig (https://download.01.org/0day-ci/archive/20220920/202209200416.3fJxLmUY-lkp@intel.com/config)
compiler: ia64-linux-gcc (GCC) 12.1.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/broonie/ci.git/commit/?id=9fc2c8ed923d8ec8a49cf5b5076c84867126ca69
        git remote add broonie-ci https://git.kernel.org/pub/scm/linux/kernel/git/broonie/ci.git
        git fetch --no-tags broonie-ci filetF4IoJ
        git checkout 9fc2c8ed923d8ec8a49cf5b5076c84867126ca69
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=ia64 SHELL=/bin/bash sound/soc/sunxi/

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> sound/soc/sunxi/sun50i-dmic.c:62:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
      62 | const static struct dmic_rate dmic_rate_s[] = {
         | ^~~~~


vim +/static +62 sound/soc/sunxi/sun50i-dmic.c

    61	
  > 62	const static struct dmic_rate dmic_rate_s[] = {
    63		{48000, 0x0},
    64		{44100, 0x0},
    65		{32000, 0x1},
    66		{24000, 0x2},
    67		{22050, 0x2},
    68		{16000, 0x3},
    69		{12000, 0x4},
    70		{11025, 0x4},
    71		{8000,  0x5},
    72	};
    73	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

                 reply	other threads:[~2022-09-19 20:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202209200416.3fJxLmUY-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=broonie@kernel.org \
    --cc=fengzheng923@gmail.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®