[PATCH] irqchip/gic: Use GIC_SPI symbolic constant

Marc Zyngier marc.zyngier at arm.com
Sun Jul 16 13:13:47 PDT 2017


On Sun, Jul 16 2017 at  7:40:06 pm BST, Mason <slash.tmp at free.fr> wrote:
> Use GIC_SPI explicitly instead of an implicit 0.

What bug is this fixing? What benefit does this bring?

>
> Signed-off-by: Mason <slash.tmp at free.fr>
> ---
> FWIW, 'make C=2' flagged a few lines:
>
> $ make C=2 drivers/irqchip/irq-gic.o
>   CHECK   drivers/irqchip/irq-gic.c
> drivers/irqchip/irq-gic.c:1079:44: warning: incorrect type in assignment (different address spaces)
> drivers/irqchip/irq-gic.c:1079:44:    expected void [noderef] <asn:3>*[noderef] <asn:2>*percpu_base
> drivers/irqchip/irq-gic.c:1079:44:    got void [noderef] <asn:2>*[noderef] <asn:3>*<noident>

How is that related to this patch?

	M.
-- 
Jazz is not dead. It just smells funny.



More information about the linux-arm-kernel mailing list