mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [broonie-ci:filetF4IoJ 28/33] sound/soc/sunxi/sun50i-dmic.c:62:1: warning: 'static' is not at beginning of declaration
@ 2022-09-19 20:28 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-09-19 20:28 UTC (permalink / raw)
  To: Ban Tao; +Cc: kbuild-all, linux-kernel, Mark Brown

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-09-19 20:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-19 20:28 [broonie-ci:filetF4IoJ 28/33] sound/soc/sunxi/sun50i-dmic.c:62:1: warning: 'static' is not at beginning of declaration kernel test robot

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®