Re: linux-next: build failure after merge of the sound tree

From: Takashi Iwai
Date: Fri Oct 11 2024 - 03:21:23 EST


On Fri, 11 Oct 2024 04:10:46 +0200,
Stephen Rothwell wrote:
>
> Hi all,
>
> After merging the sound tree, today's linux-next build (arm
> multi_v7_defconfig) failed like this:
>
> In file included from sound/pci/hda/patch_realtek.c:29:
> sound/pci/hda/hda_local.h:312:58: error: 'const struct hda_quirk' has no member named 'name'
> 312 | { _SND_PCI_QUIRK_ID(vend, dev), .value = (val), .name = (xname),\
> | ^~~~
> sound/pci/hda/patch_realtek.c:10759:9: note: in expansion of macro 'HDA_CODEC_QUIRK'
> 10759 | HDA_CODEC_QUIRK(0x17aa, 0x3802, "DuetITL 2021", ALC287_FIXUP_YOGA7_14ITL_SPEAKERS),
> | ^~~~~~~~~~~~~~~
> sound/pci/hda/hda_local.h:312:65: warning: excess elements in struct initializer
> 312 | { _SND_PCI_QUIRK_ID(vend, dev), .value = (val), .name = (xname),\
> | ^
> sound/pci/hda/patch_realtek.c:10759:9: note: in expansion of macro 'HDA_CODEC_QUIRK'
> 10759 | HDA_CODEC_QUIRK(0x17aa, 0x3802, "DuetITL 2021", ALC287_FIXUP_YOGA7_14ITL_SPEAKERS),
> | ^~~~~~~~~~~~~~~
> sound/pci/hda/hda_local.h:312:65: note: (near initialization for 'alc269_fixup_tbl[712]')
> 312 | { _SND_PCI_QUIRK_ID(vend, dev), .value = (val), .name = (xname),\
> | ^
> sound/pci/hda/patch_realtek.c:10759:9: note: in expansion of macro 'HDA_CODEC_QUIRK'
> 10759 | HDA_CODEC_QUIRK(0x17aa, 0x3802, "DuetITL 2021", ALC287_FIXUP_YOGA7_14ITL_SPEAKERS),
> | ^~~~~~~~~~~~~~~
> sound/pci/hda/hda_local.h:312:58: error: 'const struct hda_quirk' has no member named 'name'
> 312 | { _SND_PCI_QUIRK_ID(vend, dev), .value = (val), .name = (xname),\
> | ^~~~
> sound/pci/hda/patch_realtek.c:10764:9: note: in expansion of macro 'HDA_CODEC_QUIRK'
> 10764 | HDA_CODEC_QUIRK(0x17aa, 0x3820, "IdeaPad 330-17IKB 81DM", ALC269_FIXUP_ASPIRE_HEADSET_MIC),
> | ^~~~~~~~~~~~~~~
> sound/pci/hda/hda_local.h:312:65: warning: excess elements in struct initializer
> 312 | { _SND_PCI_QUIRK_ID(vend, dev), .value = (val), .name = (xname),\
> | ^
> sound/pci/hda/patch_realtek.c:10764:9: note: in expansion of macro 'HDA_CODEC_QUIRK'
> 10764 | HDA_CODEC_QUIRK(0x17aa, 0x3820, "IdeaPad 330-17IKB 81DM", ALC269_FIXUP_ASPIRE_HEADSET_MIC),
> | ^~~~~~~~~~~~~~~
> sound/pci/hda/hda_local.h:312:65: note: (near initialization for 'alc269_fixup_tbl[717]')
> 312 | { _SND_PCI_QUIRK_ID(vend, dev), .value = (val), .name = (xname),\
> | ^
> sound/pci/hda/patch_realtek.c:10764:9: note: in expansion of macro 'HDA_CODEC_QUIRK'
> 10764 | HDA_CODEC_QUIRK(0x17aa, 0x3820, "IdeaPad 330-17IKB 81DM", ALC269_FIXUP_ASPIRE_HEADSET_MIC),
> | ^~~~~~~~~~~~~~~
> sound/pci/hda/hda_local.h:312:58: error: 'const struct hda_quirk' has no member named 'name'
> 312 | { _SND_PCI_QUIRK_ID(vend, dev), .value = (val), .name = (xname),\
> | ^~~~
> sound/pci/hda/patch_realtek.c:10779:9: note: in expansion of macro 'HDA_CODEC_QUIRK'
> 10779 | HDA_CODEC_QUIRK(0x17aa, 0x386e, "Legion Y9000X 2022 IAH7", ALC287_FIXUP_CS35L41_I2C_2),
> | ^~~~~~~~~~~~~~~
> sound/pci/hda/hda_local.h:312:65: warning: excess elements in struct initializer
> 312 | { _SND_PCI_QUIRK_ID(vend, dev), .value = (val), .name = (xname),\
> | ^
> sound/pci/hda/patch_realtek.c:10779:9: note: in expansion of macro 'HDA_CODEC_QUIRK'
> 10779 | HDA_CODEC_QUIRK(0x17aa, 0x386e, "Legion Y9000X 2022 IAH7", ALC287_FIXUP_CS35L41_I2C_2),
> | ^~~~~~~~~~~~~~~
> sound/pci/hda/hda_local.h:312:65: note: (near initialization for 'alc269_fixup_tbl[732]')
> 312 | { _SND_PCI_QUIRK_ID(vend, dev), .value = (val), .name = (xname),\
> | ^
> sound/pci/hda/patch_realtek.c:10779:9: note: in expansion of macro 'HDA_CODEC_QUIRK'
> 10779 | HDA_CODEC_QUIRK(0x17aa, 0x386e, "Legion Y9000X 2022 IAH7", ALC287_FIXUP_CS35L41_I2C_2),
> | ^~~~~~~~~~~~~~~
> sound/pci/hda/hda_local.h:312:58: error: 'const struct hda_quirk' has no member named 'name'
> 312 | { _SND_PCI_QUIRK_ID(vend, dev), .value = (val), .name = (xname),\
> | ^~~~
> sound/pci/hda/patch_realtek.c:10781:9: note: in expansion of macro 'HDA_CODEC_QUIRK'
> 10781 | HDA_CODEC_QUIRK(0x17aa, 0x386f, "Legion Pro 7 16ARX8H", ALC287_FIXUP_TAS2781_I2C),
> | ^~~~~~~~~~~~~~~
> sound/pci/hda/hda_local.h:312:65: warning: excess elements in struct initializer
> 312 | { _SND_PCI_QUIRK_ID(vend, dev), .value = (val), .name = (xname),\
> | ^
> sound/pci/hda/patch_realtek.c:10781:9: note: in expansion of macro 'HDA_CODEC_QUIRK'
> 10781 | HDA_CODEC_QUIRK(0x17aa, 0x386f, "Legion Pro 7 16ARX8H", ALC287_FIXUP_TAS2781_I2C),
> | ^~~~~~~~~~~~~~~
> sound/pci/hda/hda_local.h:312:65: note: (near initialization for 'alc269_fixup_tbl[734]')
> 312 | { _SND_PCI_QUIRK_ID(vend, dev), .value = (val), .name = (xname),\
> | ^
> sound/pci/hda/patch_realtek.c:10781:9: note: in expansion of macro 'HDA_CODEC_QUIRK'
> 10781 | HDA_CODEC_QUIRK(0x17aa, 0x386f, "Legion Pro 7 16ARX8H", ALC287_FIXUP_TAS2781_I2C),
> | ^~~~~~~~~~~~~~~
>
> Caused by commit
>
> 5b1913a79c3e ("ALSA: hda: Use own quirk lookup helper")
>
> This build has CONFIG_SND_DEBUG_VERBOSE not set.
>
> I have used the sound tree from next-20241010 for today.

Sorry for the trouble, the fix submitted and merged now.


Takashi