]> git.baikalelectronics.ru Git - kernel.git/commit
net: atlantic: make function 'aq_ethtool_get_priv_flags', 'aq_ethtool_set_priv_flags...
authorzhengbin <zhengbin13@huawei.com>
Tue, 12 Nov 2019 06:59:42 +0000 (14:59 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Nov 2019 18:55:41 +0000 (10:55 -0800)
commitd5b903b73befd8347283fde2f2c39e521e37f886
tree85957c33a937b25a3c395abe814145706b286427
parent479f2cc1e4bd967ebc520f1ad9857fa6c3db97e7
net: atlantic: make function 'aq_ethtool_get_priv_flags', 'aq_ethtool_set_priv_flags' static

Fix sparse warnings:

drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:706:5: warning: symbol 'aq_ethtool_get_priv_flags' was not declared. Should it be static?
drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:713:5: warning: symbol 'aq_ethtool_set_priv_flags' was not declared. Should it be static?

Reported-by: Hulk Robot <hulkci@huawei.com>
Fixes: cc55e6aa2f74 ("net: atlantic: loopback tests via private flags")
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c