All of lore.kernel.org
 help / color / mirror / Atom feed
* [morimoto-linux:fw-cleanup-2019-10-11-v2 438/452] sound/soc/codecs/tas2562.c:460:3: error: 'const struct snd_soc_dai_ops' has no member named 'digital_mute'
@ 2019-10-11 10:46 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-10-11 10:46 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2395 bytes --]

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@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@ti.com>
:::::: CC: Mark Brown <broonie@kernel.org>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 70924 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-10-11 10:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-11 10:46 [morimoto-linux:fw-cleanup-2019-10-11-v2 438/452] sound/soc/codecs/tas2562.c:460:3: error: 'const struct snd_soc_dai_ops' has no member named 'digital_mute' kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.