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

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

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

On Mon, 2021-03-22 at 22:51 +0100, Arnd Bergmann wrote:
From: Arnd Bergmann <arnd@arndb.de>

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")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
Thanks, Arnd! But I just applied the patch Wei Yongjun submitted, so
we'll go with that one.

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