RE: [PATCH 06/14] pinctrl: samsung: Update error check for unsigned variables

2012-11-18 Thread Kukjin Kim
Linus Walleij wrote: > > 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 > > --- > > drivers/pinctrl/pinctrl-sa

Re: [PATCH 06/14] pinctrl: samsung: Update error check for unsigned variables

2012-11-17 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 > --- > drivers/pinctrl/pinctrl-samsung.c |2 +- > 1 files changed, 1 inse

[PATCH 06/14] pinctrl: samsung: 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/pinctrl-samsung.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/pinctrl/pinctrl-samsung