]> 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)
commit4cc063f2699c65a9b56580e2cb92e43fff9cb15c
tree85957c33a937b25a3c395abe814145706b286427
parent1a2897fca23ebc2b3f08df31f3bebd32c88bb87f
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: 286f3f2a5fb9 ("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