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

2012-11-22 Thread Linus Walleij
On Fri, Nov 16, 2012 at 7:50 AM, Tushar Behera wrote: > Checking '< 0' for unsigned variables always returns false. For error > codes, use IS_ERR_VALUE() instead. > > CC: Linus Walleij > Signed-off-by: Tushar Behera Patch applied with Viresh's ACK, thanks! Linus Walleij -- To unsubscribe from

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

2012-11-22 Thread Linus Walleij
On Fri, Nov 16, 2012 at 7:50 AM, Tushar Behera tushar.beh...@linaro.org wrote: Checking ' 0' for unsigned variables always returns false. For error codes, use IS_ERR_VALUE() instead. CC: Linus Walleij linus.wall...@linaro.org Signed-off-by: Tushar Behera tushar.beh...@linaro.org Patch

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

2012-11-15 Thread viresh kumar
On Fri, Nov 16, 2012 at 12:20 PM, Tushar Behera wrote: > Checking '< 0' for unsigned variables always returns false. For error > codes, use IS_ERR_VALUE() instead. > > CC: Linus Walleij > Signed-off-by: Tushar Behera > --- > drivers/pinctrl/spear/pinctrl-plgpio.c |2 +- > 1 files changed,

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

2012-11-15 Thread Tushar Behera
Checking '< 0' for unsigned variables always returns false. For error codes, use IS_ERR_VALUE() instead. CC: Linus Walleij Signed-off-by: Tushar Behera --- drivers/pinctrl/spear/pinctrl-plgpio.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

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

2012-11-15 Thread Tushar Behera
Checking ' 0' for unsigned variables always returns false. For error codes, use IS_ERR_VALUE() instead. CC: Linus Walleij linus.wall...@linaro.org Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- drivers/pinctrl/spear/pinctrl-plgpio.c |2 +- 1 files changed, 1 insertions(+), 1

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

2012-11-15 Thread viresh kumar
On Fri, Nov 16, 2012 at 12:20 PM, Tushar Behera tushar.beh...@linaro.org wrote: Checking ' 0' for unsigned variables always returns false. For error codes, use IS_ERR_VALUE() instead. CC: Linus Walleij linus.wall...@linaro.org Signed-off-by: Tushar Behera tushar.beh...@linaro.org ---