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

Stephen Rothwell
2023-02-09T03:14:29Z

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

Hi all,

On Thu, 9 Feb 2023 10:48:23 +1100 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> 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")

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