tree:
https://github.com/morimoto/linux fw-cleanup-2019-10-11-v2
head: 1b56276a3a7593888d9ee279a4d398f008c75eaf
commit: b61a97eca182e18e53b2ca5c1a184aa9becf1337 [438/452] ASoC: soc-dai: remove
.digital_mute
config: nds32-allyesconfig (attached as .config)
compiler: nds32le-linux-gcc (GCC) 8.1.0
reproduce:
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout b61a97eca182e18e53b2ca5c1a184aa9becf1337
# save the attached .config to linux build tree
GCC_VERSION=8.1.0 make.cross ARCH=nds32
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
sound/soc/codecs/tas2562.c:460:3: error: 'const struct snd_soc_dai_ops' has no
member named 'digital_mute'
.digital_mute = tas2562_mute,
^~~~~~~~~~~~
> sound/soc/codecs/tas2562.c:460:18: error: initialization of
'int (*)(struct snd_soc_dai *, unsigned int, unsigned int *, unsigned int, unsigned
int *)' from incompatible pointer type 'int (*)(struct snd_soc_dai *, int)'
[-Werror=incompatible-pointer-types]
.digital_mute = tas2562_mute,
^~~~~~~~~~~~
sound/soc/codecs/tas2562.c:460:18: note: (near initialization for
'tas2562_speaker_dai_ops.set_channel_map')
cc1: some warnings being treated as errors
vim +460 sound/soc/codecs/tas2562.c
c173dba44c2d2e Dan Murphy 2019-10-08 455
c173dba44c2d2e Dan Murphy 2019-10-08 456 static const struct snd_soc_dai_ops
tas2562_speaker_dai_ops = {
c173dba44c2d2e Dan Murphy 2019-10-08 457 .hw_params = tas2562_hw_params,
c173dba44c2d2e Dan Murphy 2019-10-08 458 .set_fmt = tas2562_set_dai_fmt,
c173dba44c2d2e Dan Murphy 2019-10-08 459 .set_tdm_slot = tas2562_set_dai_tdm_slot,
c173dba44c2d2e Dan Murphy 2019-10-08 @460 .digital_mute = tas2562_mute,
c173dba44c2d2e Dan Murphy 2019-10-08 461 };
c173dba44c2d2e Dan Murphy 2019-10-08 462
:::::: The code at line 460 was first introduced by commit
:::::: c173dba44c2d2ec2adaa4e607e9729b74236bd57 ASoC: tas2562: Introduce the TAS2562
amplifier
:::::: TO: Dan Murphy <dmurphy(a)ti.com>
:::::: CC: Mark Brown <broonie(a)kernel.org>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation