Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
irqchip/qcom: Fix u32 comparison with value less than zero
The comparison of u32 nregs being less than zero is never true since nregs is unsigned. Fix this by making nregs a signed integer. Fixes: f20cc9b ("irqchip/qcom: Add IRQ combiner driver") Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Cc: Marc Zyngier <[email protected]> Cc: [email protected] Cc: Jason Cooper <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
- Loading branch information