Bug 5571 - Null point in video/lcd/brightness
Null point in video/lcd/brightness
Status: CLOSED CODE_FIX
Product: ACPI
Classification: Unclassified
Component: Power-Video
i386 Linux
: P2 normal
Assigned To: Luming Yu
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-11-08 05:27 UTC by Luming Yu
Modified: 2005-12-05 14:17 UTC (History)
2 users (show)

See Also:
Kernel Version: 2.6
Tree: Mainline
Regression: ---


Attachments
patch for fixing Null point in video/lcd/brightnes (389 bytes, patch)
2005-11-08 05:35 UTC, Luming Yu
Details | Diff

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.

Note You need to log in before you can comment on or make changes to this bug.