irqchip/ti-sci-inta: Fix unsigned comparison to zero
authorYueHaibing <yuehaibing@huawei.com>
Wed, 26 Aug 2020 03:54:30 +0000 (11:54 +0800)
committerMarc Zyngier <maz@kernel.org>
Sun, 13 Sep 2020 14:30:00 +0000 (15:30 +0100)
commit4c9b1bfaa5039fee650f4de514a8e70ae976fc2f
tree56878dd6464900548f85b129db6df1f509c806a6
parent821fc9e261f3af235752f46e59084467cfd440c4
irqchip/ti-sci-inta: Fix unsigned comparison to zero

ti_sci_inta_xlate_irq() return -ENOENT on fail, p_hwirq
should be int type.

Fixes: 5c4b585d2910 ("irqchip/ti-sci-inta: Add support for INTA directly connecting to GIC")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Acked-by: Lokesh Vutla <lokeshvutla@ti.com>
Link: https://lore.kernel.org/r/20200826035430.21060-1-yuehaibing@huawei.com
drivers/irqchip/irq-ti-sci-inta.c