Skip to content
Commit 008d0cf1 authored by Dan Carpenter's avatar Dan Carpenter Committed by Ralf Baechle
Browse files

MIPS: Octeon: Off by one in octeon_irq_gpio_map()



It should be >= ARRAY_SIZE() instead of > ARRAY_SIZE().

Fixes: 64b139f9 ('MIPS: OCTEON: irq: add CIB and other fixes')
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Acked-by: default avatarDavid Daney <david.daney@cavium.com>
Cc: Rob Herring <robh@kernel.org>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: linux-mips@linux-mips.org
Cc: kernel-janitors@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/13813/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent b4e76f7e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment