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: x86_64-allmodconfig (attached as .config)
compiler: gcc-7 (Debian 7.4.0-13) 7.4.0
reproduce:
git checkout b61a97eca182e18e53b2ca5c1a184aa9becf1337
# save the attached .config to linux build tree
make ARCH=x86_64
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: positional
initialization of field in 'struct' declared with 'designated_init'
attribute [-Werror=designated-init]
.digital_mute = tas2562_mute,
^~~~~~~~~~~~
sound/soc/codecs/tas2562.c:460:18: note: (near initialization for
'tas2562_speaker_dai_ops')
> sound/soc/codecs/tas2562.c:460:18: error: initialization from
incompatible pointer type [-Werror=incompatible-pointer-types]
sound/soc/codecs/tas2562.c:460:18: note: (near initialization for
'tas2562_speaker_dai_ops.shutdown')
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