[alsa-devel] [PATCH 2/2] ALSA: usb: update old-style static const declaration

Takashi Iwai tiwai at suse.de
Sun Jan 12 09:44:06 CET 2020


On Sat, 11 Jan 2020 22:47:36 +0100,
Pierre-Louis Bossart wrote:
> 
> GCC reports the following warning with W=1
> 
> sound/usb/mixer_quirks.c: In function ‘snd_microii_controls_create’:
> sound/usb/mixer_quirks.c:1694:2: warning: ‘static’ is not at beginning
> of declaration [-Wold-style-declaration]
>  1694 |  const static usb_mixer_elem_resume_func_t resume_funcs[] = {
>       |  ^~~~~
> 
> Move static to the beginning of declaration
> 
> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart at linux.intel.com>

Thanks, applied now.


Takashi


More information about the Alsa-devel mailing list