From: kernel test robot <lkp@intel.com>
To: Mark Brown <broonie@kernel.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [broonie-misc:at91sam9g20ek 3/5] sound/soc/atmel/sam9g20_wm8731.c:186:21: error: 'mclk' undeclared; did you mean 'clk'?
Date: Thu, 24 Mar 2022 15:14:04 +0800 [thread overview]
Message-ID: <202203241508.CAvzBM8m-lkp@intel.com> (raw)
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@intel.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@atmel.com>
:::::: CC: Mark Brown <broonie@opensource.wolfsonmicro.com>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
reply other threads:[~2022-03-24 7:15 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=202203241508.CAvzBM8m-lkp@intel.com \
--to=lkp@intel.com \
--cc=broonie@kernel.org \
--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®