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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx>

Thanks, applied now.


Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel




[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux