tree:
https://github.com/plbossart/sound merge/sound-upstream-20200615
head: 6f9338db80a09afdde783b9a065af055c6cf9f53
commit: f293c4046b4d03818ae3e0d2967e33902d4bd131 [2676/2680] ASoC: Intel: kbl-rt5660: use
.exit() dailink callback to release gpiod
config: x86_64-allyesconfig (attached as .config)
compiler: clang version 11.0.0 (
https://github.com/llvm/llvm-project
3d8149c2a1228609fd7d7c91a04681304a2f0ca9)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git checkout f293c4046b4d03818ae3e0d2967e33902d4bd131
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
> sound/soc/intel/boards/kbl_rt5660.c:219:31: error: extraneous
')' before ';'
gpiod_put(ctx->gpio_lo_mute));
^
1 error generated.
vim +219 sound/soc/intel/boards/kbl_rt5660.c
209
210 static void kabylake_rt5660_codec_exit(struct snd_soc_pcm_runtime *rtd)
211 {
212 struct kbl_codec_private *ctx = snd_soc_card_get_drvdata(rtd->card);
213
214 /*
215 * The .exit() can be reached without going through the .init()
216 * so explicitly test if the gpiod is valid
217 */
218 if (!IS_ERR_OR_NULL(ctx->gpio_lo_mute))
219 gpiod_put(ctx->gpio_lo_mute));
220 }
221
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org