On 08/04/2015 04:47 PM, Dan Carpenter wrote: > Unsigned is never less than zero so this error handling won't work. > > Fixes: be052cc87745 ('extcon: Fix hang and extcon_get/set_cable_state().') > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > > diff --git a/drivers/extcon/extcon.c b/drivers/extcon/extcon.c > index 8301a72..da2fb6c 100644 > --- a/drivers/extcon/extcon.c > +++ b/drivers/extcon/extcon.c > @@ -143,7 +143,7 @@ static int find_cable_id_by_name(struct extcon_dev *edev, const char *name) > Applied it. Thanks, Chanwoo Choi -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html