omap: fix unlikely(x) < y
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 3 lines · * [email protected] <[email protected]> [091117 14:39]:
From: Roel Kluin <[email protected]>
The closing parenthesis was not in the right location.
I've added this to omap-fixes and will send to Linus today along with few other fixes.
Andrew & Russell, please let me know if you have this already queued for Linus, and I'll drop it from my queue.
Regards,
Tony
Quoted 22 lines
Signed-off-by Roel Kluin <[email protected]>Cc Tony Lindgren <[email protected]>Cc Russell King <[email protected]>Signed-off-by Andrew Morton <[email protected]>---
arch/arm/plat-omap/gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)diff -puN
arch/arm/plat-omap/gpio.c~omap-fix-unlikelyx-yarch/arm/plat-omap/gpio.carch/arm/plat-omap/gpio.c renamed from arch/arm/plat-omap/gpio.c~omap-fix-unlikelyx-y +1
-1@@ -391,7 +391,7 @@ static inline int gpio_valid(int gpio)static int check_gpio (int gpio) { -if (unlikely (gpio_valid (gpio)) <0 ) { +if (unlikely (gpio_valid (gpio) <0 )) {printk (KERN_ERR "omap-gpio: invalid GPIO %d\n" , gpio);dump_stack ();return -1 ;_