Re: [PATCH 07/14] pinctrl: SPEAr: Update error check for unsigned variables

From: Linus Walleij
Date: Fri Nov 23 2012 - 02:34:17 EST


On Fri, Nov 16, 2012 at 7:50 AM, Tushar Behera <tushar.behera@xxxxxxxxxx> wrote:

> Checking '< 0' for unsigned variables always returns false. For error
> codes, use IS_ERR_VALUE() instead.
>
> CC: Linus Walleij <linus.walleij@xxxxxxxxxx>
> Signed-off-by: Tushar Behera <tushar.behera@xxxxxxxxxx>

Patch applied with Viresh's ACK, thanks!
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/