[PATCH] ARM: gic: Fix sparse warning

Sergei Shtylyov sshtylyov at mvista.com
Tue Nov 20 08:00:48 EST 2012


On 20-11-2012 7:26, 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.

    And I didn't read your subject, where it's called correctly. :-)

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




More information about the linux-arm-kernel mailing list