]> git.ipfire.org Git - people/ms/linux.git/commit
ACPI: video: fix brightness allocation
authorJulia Jomantaite <julia.jomantaite@gmail.com>
Tue, 28 Oct 2008 03:50:57 +0000 (23:50 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 10 Nov 2008 18:50:07 +0000 (10:50 -0800)
commit8a742297564ff47e7fb938ad1cdfb7caa8db3a37
tree92fb07efbb3f63bc356106bfd67ba99e22919b08
parentbf848e9b1c1b67af4db7918814a04502eedf4321
ACPI: video: fix brightness allocation

Thanks to Arjan for spotting this for .stable:
http://www.kerneloops.org/search.php?search=acpi_video_switch_brightness

upstream commit 469778c1740fcf3113498b6fdf4559bdec25c58f

ACPI: video: fix brightness allocation

Fix use of uninitialized device->brightness.

Signed-off-by: Julia Jomantaite <julia.jomantaite@gmail.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/acpi/video.c