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
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)
>
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_