mirror of
https://github.com/torvalds/linux.git
synced 2026-11-30 18:42:21 +00:00
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 <[email protected]> Acked-by: Jingoo Han <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
committed by
Linus Torvalds
parent
28e64a68a2
commit
2a0c316bf3
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user