Re: [PATCH net-next] net: hns3: make local functions static

2017-10-11 Thread David Miller
From: Wei Yongjun Date: Wed, 11 Oct 2017 02:35:23 + > Fixes the following sparse warnings: > > drivers/net/ethernet/hisilicon/hns3/hns3pf/hns3_ethtool.c:464:5: warning: > symbol 'hns3_change_all_ring_bd_num' was not declared. Should it be static? >

[PATCH net-next] net: hns3: make local functions static

2017-10-10 Thread Wei Yongjun
Fixes the following sparse warnings: drivers/net/ethernet/hisilicon/hns3/hns3pf/hns3_ethtool.c:464:5: warning: symbol 'hns3_change_all_ring_bd_num' was not declared. Should it be static? drivers/net/ethernet/hisilicon/hns3/hns3pf/hns3_ethtool.c:477:5: warning: symbol 'hns3_set_ringparam' was