Re: [PATCH] net: hns: add function declarations in hns_dsaf_mac.h

2016-09-18 Thread Arnd Bergmann
On Sunday, September 18, 2016 5:11:36 PM CEST Baoyou Xie wrote: > We get 2 warnings when building kernel with W=1: > drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c:246:6: warning: no > previous prototype for 'hns_dsaf_srst_chns' [-Wmissing-prototypes] >

Re: [PATCH] net: hns: add function declarations in hns_dsaf_mac.h

2016-09-18 Thread Arnd Bergmann
On Sunday, September 18, 2016 5:11:36 PM CEST Baoyou Xie wrote: > We get 2 warnings when building kernel with W=1: > drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c:246:6: warning: no > previous prototype for 'hns_dsaf_srst_chns' [-Wmissing-prototypes] >