Re: [PATCH v2] net: hns: mark symbols static where possible

2016-09-27 Thread Mark Brown
On Tue, Sep 27, 2016 at 07:50:14AM -0400, David Miller wrote: > This still doesn't apply to the net-next tree. > If you aren't actually building your patch against the net-next > tree, don't bother submitting these patches any more. Baoyou, Dave is referring to his git tree at: git://git.ker

Re: [PATCH v2] net: hns: mark symbols static where possible

2016-09-27 Thread David Miller
From: Baoyou Xie Date: Mon, 26 Sep 2016 17:13:38 +0800 > We get a few warnings when building kernel with W=1: > drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c:76:21: warning: no previous > prototype for 'hns_ae_get_handle' [-Wmissing-prototypes] > drivers/net/ethernet/hisilicon/hns/hns_ae_ada

[PATCH v2] net: hns: mark symbols static where possible

2016-09-26 Thread Baoyou Xie
We get a few warnings when building kernel with W=1: drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c:76:21: warning: no previous prototype for 'hns_ae_get_handle' [-Wmissing-prototypes] drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c:274:6: warning: no previous prototype for 'hns_ae_stop' [-W