Re: [PATCH net-next] iwlwifi: fix old-style-declaration warning

2021-03-23 Thread Coelho, Luciano
On Mon, 2021-03-22 at 22:51 +0100, Arnd Bergmann wrote: > From: Arnd Bergmann > > The correct order is 'static const', not 'const static', as seen from > make W=1: > > drivers/net/wireless/intel/iwlwifi/mvm/rfi.c:14:1: error: 'static' is not at > beginning of declaration

[PATCH net-next] iwlwifi: fix old-style-declaration warning

2021-03-22 Thread Arnd Bergmann
From: Arnd Bergmann The correct order is 'static const', not 'const static', as seen from make W=1: drivers/net/wireless/intel/iwlwifi/mvm/rfi.c:14:1: error: 'static' is not at beginning of declaration [-Werror=old-style-declaration] Fixes: 21254908cbe9 ("iwlwifi: mvm: add RFI-M support")