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

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

Fixes: a5b659bd4bc7 ("irqchip/ti-sci-intr: Add support for INTR being a parent to INTR")
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/20200826035321.18620-1-yuehaibing@huawei.com
drivers/irqchip/irq-ti-sci-intr.c