From: Colin King <hidden> Date: 2017-08-23 09:59:44
From: Colin Ian King <redacted>
The functions set_ctrl0 and set_ctrl1 are local to the source and do
not need to be in global scope, so make them static.
Cleans up sparse warnings:
symbol 'set_ctrl0' was not declared. Should it be static?
symbol 'set_ctrl1' was not declared. Should it be static?
Signed-off-by: Colin Ian King <redacted>
---
drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Thanks
-----Original Message-----
From: Colin King [mailto:colin.king@canonical.com]
Sent: Wednesday, August 23, 2017 1:00 PM
To: Aviad Krawczyk (A); netdev@vger.kernel.org
Cc: kernel-janitors@vger.kernel.org; linux-kernel@vger.kernel.org
Subject: [PATCH][net-next] net: hinic: make functions set_ctrl0 and set_ctrl1 static
From: Colin Ian King <redacted>
The functions set_ctrl0 and set_ctrl1 are local to the source and do not need to be in global scope, so make them static.
Cleans up sparse warnings:
symbol 'set_ctrl0' was not declared. Should it be static?
symbol 'set_ctrl1' was not declared. Should it be static?
Signed-off-by: Colin Ian King <redacted>
---
drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Please do not top-post.
Especially quoting the original message in the way that you did.
As a result of how you replied to this, this patch will show up
twice in my patchwork queue making more administrative work
for me.
Please learn how to properly reply in ASCII text using proper
traditional email quoting mechanisms just like other developers
do on this mailing list.
Every time you do this improperly, you make more work for everyone
on this mailing list.
Thank you.
From: David Miller <davem@davemloft.net> Date: 2017-08-24 05:20:52
From: Colin King <redacted>
Date: Wed, 23 Aug 2017 10:59:40 +0100
From: Colin Ian King <redacted>
The functions set_ctrl0 and set_ctrl1 are local to the source and do
not need to be in global scope, so make them static.
Cleans up sparse warnings:
symbol 'set_ctrl0' was not declared. Should it be static?
symbol 'set_ctrl1' was not declared. Should it be static?
Signed-off-by: Colin Ian King <redacted>