[PATCH] ARM: gic: Fix sparse warning

Tushar Behera tushar.behera at linaro.org
Mon Nov 19 22:26:06 EST 2012


On 11/19/2012 06:12 PM, Sergei Shtylyov wrote:
> Hello.
> 
> On 19-11-2012 14:58, Tushar Behera wrote:
> 
>> gic_irq_domain_ops is only used in this file, so should be marked as
>> static.
> 
>> Fixes following compilation warning.
> 
>   This is sparse's warning, not compiler's, if I don't mistake.
> 

My mistake. It is indeed sparse warning.

>> arch/arm/common/gic.c:638:29: warning: symbol 'gic_irq_domain_ops' was
>> not declared. Should it be static?
> 
>> Signed-off-by: Tushar Behera <tushar.behera at linaro.org>
> 
> WBR, Sergei
> 
> 


-- 
Tushar Behera



More information about the linux-arm-kernel mailing list