diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-11-13 00:08:59 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-13 04:09:15 +0100 |
commit | 2a0c316bf3ccd910dc58ec62465ff620c664b5e4 (patch) | |
tree | 498dbb11eee83661bedded10b591e7ae039159db /drivers/video/backlight/lm3630a_bl.c | |
parent | backlight: lm3630: apply chip revision (diff) | |
download | linux-2a0c316bf3ccd910dc58ec62465ff620c664b5e4.tar.xz linux-2a0c316bf3ccd910dc58ec62465ff620c664b5e4.zip |
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 <dan.carpenter@oracle.com>
Acked-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r-- | drivers/video/backlight/lm3630a_bl.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |