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

2019-09-05 Thread David Miller
From: Krzysztof Wilczynski 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_

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

2019-09-04 Thread Krzysztof Wilczynski
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-st