Skip to contentSkip to conversation

linux-next: build warning after merge of the sound-asoc tree

DISCUSSION Stephen Rothwell 2 participants 2 messages Mar 23, 2021 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the sound-asoc tree, today's linux-next build (powerpc allyesconfig) produced this warning:

sound/soc/amd/acp-da7219-max98357a.c:684:28: warning: 'cz_rt5682_card' defined but not used [-Wunused-variable]

  684 | static struct snd_soc_card cz_rt5682_card = {
      |                            ^~~~~~~~~~~~~~

sound/soc/amd/acp-da7219-max98357a.c:671:28: warning: 'cz_card' defined but not used [-Wunused-variable]
671 | static struct snd_soc_card cz_card = {
| ^~~~~~~

Introduced by commit

7e71b48f9e27 ("ASoC: amd: Add support for RT5682 codec in machine driver")

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 8 lines · Stephen Rothwell

Hi all,

After merging the sound-asoc tree, today's linux-next build (powerpc allyesconfig) produced this warning:

sound/soc/amd/acp-da7219-max98357a.c:684:28: warning: 'cz_rt5682_card' defined but not used [-Wunused-variable]

   684 | static struct snd_soc_card cz_rt5682_card = {
       |                            ^~~~~~~~~~~~~~
Quoted 8 lines

sound/soc/amd/acp-da7219-max98357a.c:671:28: warning: 'cz_card' defined but not used [-Wunused-variable]
671 | static struct snd_soc_card cz_card = {
| ^~~~~~~

Introduced by commit

7e71b48f9e27 ("ASoC: amd: Add support for RT5682 codec in machine driver")

Will add ACPI dependency in Kconfig and submit the supplement patch.