[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202203241508.CAvzBM8m-lkp@intel.com>
Date: Thu, 24 Mar 2022 15:14:04 +0800
From: kernel test robot <lkp@...el.com>
To: Mark Brown <broonie@...nel.org>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [broonie-misc:at91sam9g20ek 3/5]
sound/soc/atmel/sam9g20_wm8731.c:186:21: error: 'mclk' undeclared; did you
mean 'clk'?
tree: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/misc.git at91sam9g20ek
head: f30f829ccd41ba76c4e5eae0f4f7ed3c9e4fe36b
commit: f0b540ab33c655cd82cd228652fb47d323584581 [3/5] ASoC: atmel: Remove system clock tree configuration for at91sam9g20ek
config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20220324/202203241508.CAvzBM8m-lkp@intel.com/config)
compiler: m68k-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/broonie/misc.git/commit/?id=f0b540ab33c655cd82cd228652fb47d323584581
git remote add broonie-misc https://git.kernel.org/pub/scm/linux/kernel/git/broonie/misc.git
git fetch --no-tags broonie-misc at91sam9g20ek
git checkout f0b540ab33c655cd82cd228652fb47d323584581
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=m68k SHELL=/bin/bash sound/soc/atmel/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
sound/soc/atmel/sam9g20_wm8731.c: In function 'at91sam9g20ek_audio_probe':
sound/soc/atmel/sam9g20_wm8731.c:121:21: warning: unused variable 'pllb' [-Wunused-variable]
121 | struct clk *pllb;
| ^~~~
sound/soc/atmel/sam9g20_wm8731.c: In function 'at91sam9g20ek_audio_remove':
>> sound/soc/atmel/sam9g20_wm8731.c:186:21: error: 'mclk' undeclared (first use in this function); did you mean 'clk'?
186 | clk_disable(mclk);
| ^~~~
| clk
sound/soc/atmel/sam9g20_wm8731.c:186:21: note: each undeclared identifier is reported only once for each function it appears in
vim +186 sound/soc/atmel/sam9g20_wm8731.c
5b99e6ccf964e7 Sedji Gaouaou 2008-10-03 181
71d14ea60ad81a Bill Pemberton 2012-12-07 182 static int at91sam9g20ek_audio_remove(struct platform_device *pdev)
5b99e6ccf964e7 Sedji Gaouaou 2008-10-03 183 {
242b9bb83e458d Bo Shen 2012-10-11 184 struct snd_soc_card *card = platform_get_drvdata(pdev);
242b9bb83e458d Bo Shen 2012-10-11 185
151edfc757babd Bo Shen 2013-01-31 @186 clk_disable(mclk);
5de7f9b2006925 Mark Brown 2009-02-16 187 mclk = NULL;
151edfc757babd Bo Shen 2013-01-31 188 snd_soc_unregister_card(card);
151edfc757babd Bo Shen 2013-01-31 189 atmel_ssc_put_audio(0);
242b9bb83e458d Bo Shen 2012-10-11 190
242b9bb83e458d Bo Shen 2012-10-11 191 return 0;
5b99e6ccf964e7 Sedji Gaouaou 2008-10-03 192 }
5b99e6ccf964e7 Sedji Gaouaou 2008-10-03 193
:::::: The code at line 186 was first introduced by commit
:::::: 151edfc757babd94d8b6c64d84a9ccf8f3c53320 ASoC: sam9g20_wm8731: disable clock and correct sequence when unload
:::::: TO: Bo Shen <voice.shen@...el.com>
:::::: CC: Mark Brown <broonie@...nsource.wolfsonmicro.com>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists