tree:
https://github.com/thesofproject/linux devel-catchup-202006160326
head: 9a046a93f4f339e913337c320eb1fcb58b76c866
commit: 6f9338db80a09afdde783b9a065af055c6cf9f53 [1/1] Merge branch
'sound/upstream-20200615' into merge/sound-upstream-20200615
config: ia64-allyesconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 9.3.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
git checkout 6f9338db80a09afdde783b9a065af055c6cf9f53
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=ia64
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: In function 'kabylake_rt5660_codec_exit':
> sound/soc/intel/boards/kbl_rt5660.c:219:31: error: expected
';' before ')' token
219 | gpiod_put(ctx->gpio_lo_mute));
| ^
| ;
sound/soc/intel/boards/kbl_rt5660.c:218:2: warning: this 'if' clause does not
guard... [-Wmisleading-indentation]
218 | if (!IS_ERR_OR_NULL(ctx->gpio_lo_mute))
| ^~
sound/soc/intel/boards/kbl_rt5660.c:219:31: note: ...this statement, but the latter is
misleadingly indented as if it were guarded by the 'if'
219 | gpiod_put(ctx->gpio_lo_mute));
| ^
> sound/soc/intel/boards/kbl_rt5660.c:219:31: error: expected
statement before ')' token
vim +219 sound/soc/intel/boards/kbl_rt5660.c
8625db9416923b Hui Wang 2018-12-13 209
f293c4046b4d03 Pierre-Louis Bossart 2020-03-04 210 static void
kabylake_rt5660_codec_exit(struct snd_soc_pcm_runtime *rtd)
f293c4046b4d03 Pierre-Louis Bossart 2020-03-04 211 {
f293c4046b4d03 Pierre-Louis Bossart 2020-03-04 212 struct kbl_codec_private *ctx =
snd_soc_card_get_drvdata(rtd->card);
f293c4046b4d03 Pierre-Louis Bossart 2020-03-04 213
f293c4046b4d03 Pierre-Louis Bossart 2020-03-04 214 /*
f293c4046b4d03 Pierre-Louis Bossart 2020-03-04 215 * The .exit() can be reached
without going through the .init()
f293c4046b4d03 Pierre-Louis Bossart 2020-03-04 216 * so explicitly test if the gpiod
is valid
f293c4046b4d03 Pierre-Louis Bossart 2020-03-04 217 */
f293c4046b4d03 Pierre-Louis Bossart 2020-03-04 218 if
(!IS_ERR_OR_NULL(ctx->gpio_lo_mute))
f293c4046b4d03 Pierre-Louis Bossart 2020-03-04 @219 gpiod_put(ctx->gpio_lo_mute));
f293c4046b4d03 Pierre-Louis Bossart 2020-03-04 220 }
f293c4046b4d03 Pierre-Louis Bossart 2020-03-04 221
:::::: The code at line 219 was first introduced by commit
:::::: f293c4046b4d03818ae3e0d2967e33902d4bd131 ASoC: Intel: kbl-rt5660: use .exit()
dailink callback to release gpiod
:::::: TO: Pierre-Louis Bossart <pierre-louis.bossart(a)linux.intel.com>
:::::: CC: Pierre-Louis Bossart <pierre-louis.bossart(a)linux.intel.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org