]> asedeno.scripts.mit.edu Git - linux.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)
commit428cd5232482866d6775a7c6a03dcef78fb0d10e
tree9fb4bace7739c6f362b83427f9d3fdb6aa6f6db8
parente07c5f2e4e911d933c8daa3c6f6be063ee0e5c2d
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