Bug 5571

Summary: Null point in video/lcd/brightness
Product: ACPI Reporter: Luming Yu (luming.yu)
Component: Power-VideoAssignee: Luming Yu (luming.yu)
Status: CLOSED CODE_FIX    
Severity: normal CC: acpi-bugzilla, trenn
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6 Subsystem:
Regression: --- Bisected commit-id:
Attachments: patch for fixing Null point in video/lcd/brightnes

Description Luming Yu 2005-11-08 05:27:34 UTC
patch attached
Comment 1 Luming Yu 2005-11-08 05:35:06 UTC
Created attachment 6495 [details]
patch for fixing Null point in video/lcd/brightnes


contributed by Thomas Renninger trenn@suse.de

>when video/lcd/brightness is not supported and you still write 
>something into 
>/proc/acpi/video/lcd/brightness the kernel will oops due a 
>Null pointer dereference.
>
Comment 2 Luming Yu 2005-11-16 21:50:33 UTC
Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Comment 3 Len Brown 2005-11-30 19:53:38 UTC
applied to acpi-test tree
Comment 4 Len Brown 2005-12-05 14:17:19 UTC
shipped in 2.6.15-rc5 -- closing.