[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b2f6f8cd-557c-3978-f176-e615cba8b458@huawei.com>
Date: Fri, 17 Apr 2020 18:56:43 +0800
From: Jason Yan <yanaijie@...wei.com>
To: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>,
<f.fainelli@...il.com>, <tglx@...utronix.de>,
<jason@...edaemon.net>, <maz@...nel.org>, <justinpopo6@...il.com>,
<bcm-kernel-feedback-list@...adcom.com>,
<linux-mips@...r.kernel.org>, <linux-kernel@...r.kernel.org>
CC: Hulk Robot <hulkci@...wei.com>
Subject: Re: [PATCH] irqchip/irq-bcm7038-l1: make bcm7038_l1_of_init() static
在 2020/4/17 18:26, Sergei Shtylyov 写道:
> Hello!
>
> On 17.04.2020 10:40, Jason Yan wrote:
>
>> Fix the following sparse warning:
>>
>> drivers/irqchip/irq-bcm7038-l1.c:419:12: warning: symbol
>> 'bcm7038_l1_of_init' was not declared. Should it be static?
>>
>> Reported-by: Hulk Robot <hulkci@...wei.com>
>> Signed-off-by: Jason Yan <yanaijie@...wei.com>
>> ---
>> drivers/irqchip/irq-bcm7038-l1.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/irqchip/irq-bcm7038-l1.c
>> b/drivers/irqchip/irq-bcm7038-l1.c
>> index eb9bce93cd05..fd7c537fb42a 100644
>> --- a/drivers/irqchip/irq-bcm7038-l1.c
>> +++ b/drivers/irqchip/irq-bcm7038-l1.c
>> @@ -416,7 +416,7 @@ static const struct irq_domain_ops
>> bcm7038_l1_domain_ops = {
>> .map = bcm7038_l1_map,
>> };
>> -int __init bcm7038_l1_of_init(struct device_node *dn,
>> +static int __init bcm7038_l1_of_init(struct device_node *dn,
>> struct device_node *parent)
>
> Reindent the above line please, it should start under *struct* on
> the 1st line.
OK, will cook a new one.
>
> [...]
>
> MBR, Sergei
>
> .
Powered by blists - more mailing lists