Skip to content

Commit

Permalink
net: hns3: Make hclge_func_reset_sync_vf static
Browse files Browse the repository at this point in the history
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: Hulk Robot <[email protected]>
Signed-off-by: YueHaibing <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
  • Loading branch information
YueHaibing authored and Jakub Kicinski committed Aug 13, 2019
1 parent 92b4982 commit a9a9676
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -3187,7 +3187,7 @@ static int hclge_set_all_vf_rst(struct hclge_dev *hdev, bool reset)
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_desc desc;
Expand Down

0 comments on commit a9a9676

Please sign in to comment.