2020-05-01 04:07:56

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build warning after merge of the sound tree

Hi all,

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

sound/pci/hda/patch_realtek.c: In function 'alc_fixup_hp_gpio_led':
sound/pci/hda/patch_realtek.c:4134:6: warning: unused variable 'err' [-Wunused-variable]
4134 | int err;
| ^~~

Introduced by commit

87dc36482cab ("ALSA: hda/realtek - Add LED class support for micmute LED")

--
Cheers,
Stephen Rothwell


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature

2020-05-01 07:36:08

by Takashi Iwai

[permalink] [raw]
Subject: Re: linux-next: build warning after merge of the sound tree

On Fri, 01 May 2020 06:03:23 +0200,
Stephen Rothwell wrote:
>
> Hi all,
>
> After merging the sound tree, today's linux-next build (arm
> multi_v7_defconfig) produced this warning:
>
> sound/pci/hda/patch_realtek.c: In function 'alc_fixup_hp_gpio_led':
> sound/pci/hda/patch_realtek.c:4134:6: warning: unused variable 'err' [-Wunused-variable]
> 4134 | int err;
> | ^~~
>
> Introduced by commit
>
> 87dc36482cab ("ALSA: hda/realtek - Add LED class support for micmute LED")

I submitted the fix patch now and it will be included later:
https://lore.kernel.org/r/[email protected]


thanks,

Takashi