Re: [patch 1/3] omap: fix unlikely(x) < y

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* akpm@xxxxxxxxxxxxxxxxxxxx <akpm@xxxxxxxxxxxxxxxxxxxx> [091117 14:39]:
> From: Roel Kluin <roel.kluin@xxxxxxxxx>
> 
> 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

 
> Signed-off-by: Roel Kluin <roel.kluin@xxxxxxxxx>
> Cc: Tony Lindgren <tony@xxxxxxxxxxx>
> Cc: Russell King <rmk@xxxxxxxxxxxxxxxx>
> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> ---
> 
>  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-y arch/arm/plat-omap/gpio.c
> --- a/arch/arm/plat-omap/gpio.c~omap-fix-unlikelyx-y
> +++ a/arch/arm/plat-omap/gpio.c
> @@ -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;
> _
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux