From: Dan Carpenter Date: Tue, 12 Nov 2013 23:08:59 +0000 (-0800) Subject: drivers/video/backlight/lm3630a_bl.c: fix signedness bug in lm3630a_chip_init() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2a0c316bf3ccd910dc58ec62465ff620c664b5e4;p=linux-beck.git drivers/video/backlight/lm3630a_bl.c: fix signedness bug in lm3630a_chip_init() "rval" needs to be signed for the error handling to work. Signed-off-by: Dan Carpenter Acked-by: Jingoo Han Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/backlight/lm3630a_bl.c b/drivers/video/backlight/lm3630a_bl.c index cf40cc8e662b..200dca04383f 100644 --- a/drivers/video/backlight/lm3630a_bl.c +++ b/drivers/video/backlight/lm3630a_bl.c @@ -105,7 +105,7 @@ static int lm3630a_chip_init(struct lm3630a_chip *pchip) /* interrupt handling */ static void lm3630a_delayed_func(struct work_struct *work) { - unsigned int rval; + int rval; struct lm3630a_chip *pchip; pchip = container_of(work, struct lm3630a_chip, work.work);