Re: [PATCH] net: qed: Move static keyword to the front of declaration

2019-09-05 Thread David Miller
From: Krzysztof Wilczynski Date: Wed, 4 Sep 2019 16:17:30 +0200 > Move the static keyword to the front of declaration of iwarp_state_names, > and resolve the following compiler warning that can be seen when building > with warnings enabled (W=1): > > drivers/net/ethernet/qlogic/qed/qed_iwarp.c:

RE: [EXT] [PATCH] net: qed: Move static keyword to the front of declaration

2019-09-05 Thread Michal Kalderon
> From: Krzysztof Wilczynski On Behalf Of Krzysztof > Wilczynski > > External Email > > -- > Move the static keyword to the front of declaration of iwarp_state_names, > and resolve the following compiler warning that can be seen

[PATCH] net: qed: Move static keyword to the front of declaration

2019-09-04 Thread Krzysztof Wilczynski
Move the static keyword to the front of declaration of iwarp_state_names, and resolve the following compiler warning that can be seen when building with warnings enabled (W=1): drivers/net/ethernet/qlogic/qed/qed_iwarp.c:385:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-de