Re: [PATCH][V2] pinctrl: ti-iodelay: remove redundant pin < 0 check on unsigned int

2017-01-16 Thread Colin Ian King
On 16/01/17 15:45, Rob Herring wrote: > On Fri, Jan 13, 2017 at 3:06 PM, Colin King wrote: >> From: Colin Ian King >> >> pin is an unsigned int and therefore can never be < 0 so >> this check is redundant. Remove the check and the associated >> dev_err error message. > > Not sure why I got copie

Re: [PATCH][V2] pinctrl: ti-iodelay: remove redundant pin < 0 check on unsigned int

2017-01-16 Thread Rob Herring
On Fri, Jan 13, 2017 at 3:06 PM, Colin King wrote: > From: Colin Ian King > > pin is an unsigned int and therefore can never be < 0 so > this check is redundant. Remove the check and the associated > dev_err error message. Not sure why I got copied on this... > Fixes CoverityScan CID#1396438 ("

Re: [PATCH][V2] pinctrl: ti-iodelay: remove redundant pin < 0 check on unsigned int

2017-01-14 Thread Nishanth Menon
On 01/13/2017 03:06 PM, Colin King wrote: From: Colin Ian King pin is an unsigned int and therefore can never be < 0 so this check is redundant. Remove the check and the associated dev_err error message. Fixes CoverityScan CID#1396438 ("Unsigned compared against 0") Signed-off-by: Colin Ian K

[PATCH][V2] pinctrl: ti-iodelay: remove redundant pin < 0 check on unsigned int

2017-01-13 Thread Colin King
From: Colin Ian King pin is an unsigned int and therefore can never be < 0 so this check is redundant. Remove the check and the associated dev_err error message. Fixes CoverityScan CID#1396438 ("Unsigned compared against 0") Signed-off-by: Colin Ian King --- drivers/pinctrl/ti/pinctrl-ti-iode