lkml.org 
[lkml]   [2016]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] net: hns: declare function as static
From
Date


On 2016/9/7 7:20, David Miller wrote:
> From: Kefeng Wang <wangkefeng.wang@huawei.com>
> Date: Tue, 6 Sep 2016 19:53:11 +0800
>
>> Declare function as static to kill warning about missing-prototypes.
>>
>> Cc: Yisen Zhuang <yisen.zhuang@huawei.com>
>> Cc: Kejian Yan <yankejian@huawei.com>
>> Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
> ...
>> @@ -73,7 +73,7 @@ static struct ring_pair_cb *hns_ae_get_ring_pair(struct hnae_queue *q)
>> return container_of(q, struct ring_pair_cb, q);
>> }
>>
>> -struct hnae_handle *hns_ae_get_handle(struct hnae_ae_dev *dev,
>> +static struct hnae_handle *hns_ae_get_handle(struct hnae_ae_dev *dev,
>> u32 port_id)
>
> You have to adjust the indentation of the arguments on the following lines
> if you change where the openning parenthesis is. They must start exactly
> at the column folling that openning parenthesis.

Hi David,

Talked with Yisen, please ignore it for now, will resend it after some hns/roce functional changes.

Thanks,
Kefeng



>
>
> .
>

\
 
 \ /
  Last update: 2016-09-17 09:58    [W:0.050 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site