]> git.karo-electronics.de Git - mv-sheeva.git/commit
IXP4xx: Ensure index is positive in irq_to_gpio() and npe_request().
authorRoel Kluin <roel.kluin@gmail.com>
Tue, 3 Nov 2009 22:05:32 +0000 (23:05 +0100)
committerKrzysztof Hałasa <khc@pm.waw.pl>
Sat, 5 Dec 2009 15:58:38 +0000 (16:58 +0100)
commitefec194f576eebca8b0b3ac6e96fea05ae4567c9
tree20e5b0ed54b7be284734d08a8e6a0089a9fedd0a
parent9f2c94928a0d713d223b53909734877fe4f340ab
IXP4xx: Ensure index is positive in irq_to_gpio() and npe_request().

The indexes were signed, so negatives were possible.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl>
arch/arm/mach-ixp4xx/common.c
arch/arm/mach-ixp4xx/include/mach/gpio.h
arch/arm/mach-ixp4xx/include/mach/npe.h
arch/arm/mach-ixp4xx/ixp4xx_npe.c