]> git.baikalelectronics.ru Git - kernel.git/commit
sfc/ethtool_common: Make some function to static
authorZhang Xiaoxu <zhangxiaoxu5@huawei.com>
Mon, 13 Jan 2020 11:24:11 +0000 (19:24 +0800)
committerJakub Kicinski <kuba@kernel.org>
Mon, 13 Jan 2020 14:00:43 +0000 (06:00 -0800)
commit912ac903807816119684d1bc89e7adac3c6a4b9e
tree9fb4bace7739c6f362b83427f9d3fdb6aa6f6db8
parent71ad0c19f16132627869f45150ea69f588e20b5c
sfc/ethtool_common: Make some function to static

Fix sparse warning:

drivers/net/ethernet/sfc/ethtool_common.c
  warning: symbol 'efx_fill_test' was not declared. Should it be static?
  warning: symbol 'efx_fill_loopback_test' was not declared.
           Should it be static?
  warning: symbol 'efx_describe_per_queue_stats' was not declared.
           Should it be static?

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zhang Xiaoxu <zhangxiaoxu5@huawei.com>
Reviewed-by: Martin Habets <mhabets@solarflare.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/sfc/ethtool_common.c