[PATCH 1/6] omap: Fix Unlikely(x) < y
Tony Lindgren
tony at atomide.com
Tue Oct 13 20:13:41 EDT 2009
From: Roel Kluin <roel.kluin at gmail.com>
The closing parenthesis was not on the right location.
Signed-off-by: Roel Kluin <roel.kluin at gmail.com>
Signed-off-by: Tony Lindgren <tony at atomide.com>
---
arch/arm/plat-omap/gpio.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/plat-omap/gpio.c b/arch/arm/plat-omap/gpio.c
index 71ebd7f..7c345b7 100644
--- a/arch/arm/plat-omap/gpio.c
+++ b/arch/arm/plat-omap/gpio.c
@@ -373,7 +373,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;
More information about the linux-arm-kernel
mailing list