projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.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
|
blame
|
history
diff --git
a/drivers/acpi/video.c
b/drivers/acpi/video.c
index 86531ab4ee5517dcf86676641fcae415cad4f980..e7e9a693953a7bb58f37a0b446c9f7e6942c74b8 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);