Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 3 participants 3 messages Jul 15, 2022 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the sound tree, today's linux-next build (powerpc allyesconfig) failed like this:

sound/pci/hda/cs35l41_hda.c: In function 'cs35l41_get_acpi_sub_string':
sound/pci/hda/cs35l41_hda.c:693:43: error: invalid use of undefined type 'struct acpi_device'
693 | status = acpi_evaluate_object(adev->handle, "_SUB", NULL, &buffer);
| ^~

Caused by commit

d60b05b4c780 ("ALSA: hda: cs35l41: Allow compilation test on non-ACPI configurations")

along with commit

eef375960210 ("ALSA: hda: cs35l41: Support reading subsystem id from ACPI")

I have reverted commit d60b05b4c780 for today.

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

Hi all,

After merging the sound tree, today's linux-next build (powerpc allyesconfig) failed like this:

sound/pci/hda/cs35l41_hda.c: In function 'cs35l41_get_acpi_sub_string':
sound/pci/hda/cs35l41_hda.c:693:43: error: invalid use of undefined type 'struct acpi_device'
693 | status = acpi_evaluate_object(adev->handle, "_SUB", NULL, &buffer);
| ^~

Caused by commit

Quoted 7 lines

d60b05b4c780 ("ALSA: hda: cs35l41: Allow compilation test on non-ACPI configurations")

along with commit

eef375960210 ("ALSA: hda: cs35l41: Support reading subsystem id from ACPI")

I have reverted commit d60b05b4c780 for today.

Thanks. Now I reverted the commit on for-next branch as a workaround, too.

Takashi

#2 lore raw
Quoted 18 lines · Takashi Iwai
Quoted 15 lines · Stephen Rothwell

Hi all,

After merging the sound tree, today's linux-next build (powerpc allyesconfig) failed like this:

sound/pci/hda/cs35l41_hda.c: In function 'cs35l41_get_acpi_sub_string':
sound/pci/hda/cs35l41_hda.c:693:43: error: invalid use of undefined type 'struct acpi_device'
693 | status = acpi_evaluate_object(adev->handle, "_SUB", NULL, &buffer);
| ^~

Caused by commit

d60b05b4c780 ("ALSA: hda: cs35l41: Allow compilation test on non-ACPI configurations")

Quoted 8 lines
Quoted 5 lines

along with commit

eef375960210 ("ALSA: hda: cs35l41: Support reading subsystem id from ACPI")

I have reverted commit d60b05b4c780 for today.

Thanks. Now I reverted the commit on for-next branch as a workaround, too.

Thanks! OTOH it means it's working well :-)

Nevertheless, I have prepared a series to deduplicate this _SUB code and I think the ACPI would stay as a compile dependency because of that change anyway.

Signature · 2 lines
With Best Regards,
Andy Shevchenko