linux-stable/drivers/net/ethernet/hisilicon/hns3/hns3pf
Wei Yongjun c019087932 net: hns3: make symbol 'hclge_mac_speed_map_to_fw' static
The sparse tool complains as follows:

drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c:2656:28: warning:
 symbol 'hclge_mac_speed_map_to_fw' was not declared. Should it be static?

This symbol is not used outside of hclge_main.c, so marks it static.

Fixes: e46da6a3d4 ("net: hns3: refine function hclge_cfg_mac_speed_dup_hw()")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-11-30 12:28:14 +00:00
..
hclge_cmd.c net: hns3: sync rx ring head in echo common pull 2021-11-10 14:20:43 +00:00
hclge_cmd.h net: hns3: sync rx ring head in echo common pull 2021-11-10 14:20:43 +00:00
hclge_dcb.c net: hns3: allow configure ETS bandwidth of all TCs 2021-11-10 14:20:43 +00:00
hclge_dcb.h
hclge_debugfs.c net: hns3: refactor two hns3 debugfs functions 2021-11-29 14:26:17 +00:00
hclge_debugfs.h net: hns3: refactor two hns3 debugfs functions 2021-11-29 14:26:17 +00:00
hclge_devlink.c devlink: Delete reload enable/disable interface 2021-10-12 16:29:17 -07:00
hclge_devlink.h net: hns3: add support for registering devlink for PF 2021-07-26 12:16:03 +01:00
hclge_err.c net: hns3: add error recovery module and type for himac 2021-10-25 14:00:59 +01:00
hclge_err.h net: hns3: add error recovery module and type for himac 2021-10-25 14:00:59 +01:00
hclge_main.c net: hns3: make symbol 'hclge_mac_speed_map_to_fw' static 2021-11-30 12:28:14 +00:00
hclge_main.h net: hns3: refine function hclge_cfg_mac_speed_dup_hw() 2021-11-29 14:26:17 +00:00
hclge_mbx.c net: hns3: add log for workqueue scheduled late 2021-11-24 14:12:26 +00:00
hclge_mdio.c net: hns3: disable phy loopback setting in hclge_mac_start_phy 2021-04-30 14:49:33 -07:00
hclge_mdio.h net: hns3: add ioctl support for imp-controlled PHYs 2021-03-13 14:11:29 -08:00
hclge_ptp.c net: hns3: change the method of obtaining default ptp cycle 2021-07-27 20:59:32 +01:00
hclge_ptp.h net: hns3: uniform parameter name of hclge_ptp_clean_tx_hwts() 2021-08-30 09:43:18 +01:00
hclge_tm.c net: hns3: refine function hclge_tm_pri_q_qs_cfg() 2021-11-29 14:26:17 +00:00
hclge_tm.h net: hns3: fix pfc packet number incorrect after querying pfc parameters 2021-11-10 14:20:43 +00:00
hclge_trace.h
Makefile net: hns3: add support for registering devlink for PF 2021-07-26 12:16:03 +01:00