Search Linux Wireless

Re: [PATCH -next] iwlwifi: mvm: fix old-style static const declaration

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

 



On Thu, 2021-03-04 at 10:22 +0000, 'Wei Yongjun wrote:
> From: Wei Yongjun <weiyongjun1@xxxxxxxxxx>
> 
> GCC reports warning as follows:
> 
> drivers/net/wireless/intel/iwlwifi/mvm/rfi.c:14:1: warning:
>  'static' is not at beginning of declaration [-Wold-style-declaration]
>    14 | const static struct iwl_rfi_lut_entry iwl_rfi_table[IWL_RFI_LUT_SIZE] = {
>       | ^~~~~
> 
> Move static to the beginning of declaration.
> 
> Fixes: 21254908cbe9 ("iwlwifi: mvm: add RFI-M support")
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: Wei Yongjun <weiyongjun1@xxxxxxxxxx>
> ---

Thanks, I applied this to our internal tree and it will reach the
mainline following our usual process.

--
Cheers,
Luca.




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux