Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 1 participant 2 messages Feb 8, 2023 – Feb 9, 2023 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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

sound/ppc/snd_ps3.c: In function 'snd_ps3_driver_remove':
sound/ppc/snd_ps3.c:1049:13: warning: unused variable 'ret' [-Wunused-variable]
1049 | int ret;
| ^~~

Introduced by commit

25a5a77ae0bc ("ALSA: core: Make snd_card_free() return void")

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

Hi all,

Quoted 4 lines · On Thu, 9 Feb 2023 10:48:23 +1100 Stephen Rothwell <[email protected]> wrote:

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

Quoted 8 lines

sound/ppc/snd_ps3.c: In function 'snd_ps3_driver_remove':
sound/ppc/snd_ps3.c:1049:13: warning: unused variable 'ret' [-Wunused-variable]
1049 | int ret;
| ^~~

Introduced by commit

25a5a77ae0bc ("ALSA: core: Make snd_card_free() return void")

This became a build failure in my powerpc allyesconfig build, so I applied the supplied patch for today.

Signature · 2 lines
Cheers,
Stephen Rothwell