Thread (2 messages) flat view 2 messages, 2 authors, 2021-03-23

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

From: Coelho, Luciano <hidden>
Date: 2021-03-23 08:03:14
Also in: linux-wireless

On Thu, 2021-03-04 at 10:22 +0000, 'Wei Yongjun wrote:
From: Wei Yongjun <redacted>

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 <redacted>
Signed-off-by: Wei Yongjun <redacted>
---
Thanks, I applied this to our internal tree and it will reach the
mainline following our usual process.

--
Cheers,
Luca.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help