Re: [PATCH net-next] net: hns3: make function hclge_set_all_vf_rst() static

2019-02-17 Thread David Miller
From: Wei Yongjun Date: Sat, 16 Feb 2019 08:15:52 + > Fixes the following sparse warning: > > drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c:2431:5: warning: > symbol 'hclge_set_all_vf_rst' was not declared. Should it be static? > > Fixes: aa5c4f175be6 ("net: hns3: add reset handl

[PATCH net-next] net: hns3: make function hclge_set_all_vf_rst() static

2019-02-16 Thread Wei Yongjun
Fixes the following sparse warning: drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c:2431:5: warning: symbol 'hclge_set_all_vf_rst' was not declared. Should it be static? Fixes: aa5c4f175be6 ("net: hns3: add reset handling for VF when doing PF reset") Signed-off-by: Wei Yongjun --- driv