projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28e64a6
)
drivers/video/backlight/lm3630a_bl.c: fix signedness bug in lm3630a_chip_init()
author
Dan Carpenter
<
[email protected]
>
Tue, 12 Nov 2013 23:08:59 +0000
(15:08 -0800)
committer
Linus Torvalds
<
[email protected]
>
Wed, 13 Nov 2013 03:09:15 +0000
(12:09 +0900)
"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]
>
drivers/video/backlight/lm3630a_bl.c
patch
|
blob
|
history
diff --git
a/drivers/video/backlight/lm3630a_bl.c
b/drivers/video/backlight/lm3630a_bl.c
index cf40cc8e662b54f23494b32e1ec8f8b1109663ad..200dca04383f3c3872b527e7f6228461e5635222 100644
(file)
--- 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);