Re: [PATCH 2/2] net: hns: add missing function declaration

2016-09-30 Thread Arnd Bergmann
On Friday 30 September 2016, Baoyou Xie wrote: > We get 1 warning when building kernel with W=1: > drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c:2784:5: warning: no > previous prototype for 'hns_dsaf_roce_reset' [-Wmissing-prototypes] > > In fact, this function is not declared in any file, b

[PATCH 2/2] net: hns: add missing function declaration

2016-09-30 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c:2784:5: warning: no previous prototype for 'hns_dsaf_roce_reset' [-Wmissing-prototypes] In fact, this function is not declared in any file, but should be declared in a header file. thus can be recog