projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6edad16
)
[PATCH] fix typo in acpi video brightness changes.
author
Dave Jones
<davej@redhat.com>
Sat, 24 Jun 2006 04:33:08 +0000
(
00:33
-0400)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Sat, 24 Jun 2006 04:37:34 +0000
(21:37 -0700)
Prevent possible null dereference due to misplaced ;
Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/acpi/video.c
patch
|
blob
|
history
diff --git
a/drivers/acpi/video.c
b/drivers/acpi/video.c
index
86531ab
..
e7e9a69
100644
(file)
--- a/
drivers/acpi/video.c
+++ b/
drivers/acpi/video.c
@@
-1645,7
+1645,7
@@
static int acpi_video_bus_put_devices(struct acpi_video_bus *video)
printk(KERN_WARNING PREFIX
"hhuuhhuu bug in acpi video driver.\n");
- if (data->brightness)
;
+ if (data->brightness)
kfree(data->brightness->levels);
kfree(data->brightness);
kfree(data);