[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190905.123922.1651037040557409256.davem@davemloft.net>
Date: Thu, 05 Sep 2019 12:39:22 +0200 (CEST)
From: David Miller <davem@...emloft.net>
To: kw@...ux.com
Cc: yisen.zhuang@...wei.com, salil.mehta@...wei.com,
liuyonglong@...wei.com, lipeng321@...wei.com,
gregkh@...uxfoundation.org, colin.king@...onical.com,
huang.zijiang@....com.cn, tglx@...utronix.de,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: hns: Move static keyword to the front of
declaration
From: Krzysztof Wilczynski <kw@...ux.com>
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@...ux.com>
Applied to net-next.
Powered by blists - more mailing lists