[alsa-devel] [PATCH 1/5] ALSA: usb-audio: localize one-referrer variable
Takashi Iwai
tiwai at suse.de
Mon Feb 20 21:51:35 CET 2017
On Mon, 20 Feb 2017 21:09:17 +0100,
Takashi Sakamoto wrote:
>
> When accessed by one referrer inner a file, variables should have static
> qualifier to declare local-linkage.
>
> This commit fixes the bug. Sparse generated below warnings.
> sound/usb/mixer_us16x08.c:156:13: warning: duplicate const
> sound/usb/mixer_us16x08.c:156:18: warning: symbol 'route_names' was not declared. Should it be static?
>
> Fixes: d2bb390a2081 ("ALSA: usb-audio: Tascam US-16x08 DSP mixer quirk")
> Signed-off-by: Takashi Sakamoto <o-takashi at sakamocchi.jp>
Applied, thanks.
Takashi
More information about the Alsa-devel
mailing list