mirror of https://gitee.com/openkylin/linux.git
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: Hulk Robot <hulkci@huawei.com> Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
This commit is contained in:
parent
92b4982228
commit
a9a9676016
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue