Commit a9a96760 authored by YueHaibing's avatar YueHaibing Committed by Jakub Kicinski

net: hns3: Make hclge_func_reset_sync_vf static

Fix sparse warning:

drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c:3190:5:
 warning: symbol 'hclge_func_reset_sync_vf' was not declared. Should it be static?
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarJakub Kicinski <jakub.kicinski@netronome.com>
parent 92b49822
...@@ -3187,7 +3187,7 @@ static int hclge_set_all_vf_rst(struct hclge_dev *hdev, bool reset) ...@@ -3187,7 +3187,7 @@ static int hclge_set_all_vf_rst(struct hclge_dev *hdev, bool reset)
return 0; return 0;
} }
int hclge_func_reset_sync_vf(struct hclge_dev *hdev) static int hclge_func_reset_sync_vf(struct hclge_dev *hdev)
{ {
struct hclge_pf_rst_sync_cmd *req; struct hclge_pf_rst_sync_cmd *req;
struct hclge_desc desc; struct hclge_desc desc;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment