Re: [PATCH] net: hns: declare function as static

2016-09-06 Thread Kefeng Wang
On 2016/9/7 7:20, David Miller wrote: > From: Kefeng Wang > Date: Tue, 6 Sep 2016 19:53:11 +0800 > >> Declare function as static to kill warning about missing-prototypes. >> >> Cc: Yisen Zhuang >> Cc: Kejian Yan >> Signed-off-by: Kefeng Wang > ... >> @@ -73,7 +73,7 @@ static struct ring_pai

Re: [PATCH] net: hns: declare function as static

2016-09-06 Thread David Miller
From: Kefeng Wang Date: Tue, 6 Sep 2016 19:53:11 +0800 > Declare function as static to kill warning about missing-prototypes. > > Cc: Yisen Zhuang > Cc: Kejian Yan > Signed-off-by: Kefeng Wang ... > @@ -73,7 +73,7 @@ static struct ring_pair_cb *hns_ae_get_ring_pair(struct > hnae_queue *q) >

[PATCH] net: hns: declare function as static

2016-09-06 Thread Kefeng Wang
Declare function as static to kill warning about missing-prototypes. Cc: Yisen Zhuang Cc: Kejian Yan Signed-off-by: Kefeng Wang --- The warning is shown when make with W=1. drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 22 +++--- drivers/net/ethernet/hisilicon/hns/hns_