]> 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)
commit9c59a1b72c402fd40fc217f35842da39335e20db
tree9fb4bace7739c6f362b83427f9d3fdb6aa6f6db8
parenta7119e6358989d1957242b78c569c492684e18be
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