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

From: David Miller
Date: Thu Sep 05 2019 - 06:39:28 EST


From: Krzysztof Wilczynski <kw@xxxxxxxxx>
Date: Wed, 4 Sep 2019 16:21:16 +0200

> Move the static keyword to the front of declaration of g_dsaf_mode_match,
> and resolve the following compiler warning that can be seen when building
> with warnings enabled (W=1):
>
> drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c:27:1: warning:
> ʽstaticʼ is not at beginning of declaration [-Wold-style-declaration]
>
> Signed-off-by: Krzysztof Wilczynski <kw@xxxxxxxxx>

Applied to net-next.