aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorLan Tianyu <tianyu.lan@intel.com>2012-07-20 13:29:16 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-08-09 08:27:42 -0700
commit53895e01fe540ddd0c9f2615468a04cb48d9ed2f (patch)
tree549a36f55e24dd42888bd202f07549a8b5610394 /fs
parentb1c7ba1bab7363fee6dc5d4ee5be4e916adcf691 (diff)
downloadkernel_samsung_crespo-53895e01fe540ddd0c9f2615468a04cb48d9ed2f.zip
kernel_samsung_crespo-53895e01fe540ddd0c9f2615468a04cb48d9ed2f.tar.gz
kernel_samsung_crespo-53895e01fe540ddd0c9f2615468a04cb48d9ed2f.tar.bz2
ACPI/AC: prevent OOPS on some boxes due to missing check power_supply_register() return value check
commit f197ac13f6eeb351b31250b9ab7d0da17434ea36 upstream. In the ac.c, power_supply_register()'s return value is not checked. As a result, the driver's add() ops may return success even though the device failed to initialize. For example, some BIOS may describe two ACADs in the same DSDT. The second ACAD device will fail to register, but ACPI driver's add() ops returns sucessfully. The ACPI device will receive ACPI notification and cause OOPS. https://bugzilla.redhat.com/show_bug.cgi?id=772730 Signed-off-by: Lan Tianyu <tianyu.lan@intel.com> Signed-off-by: Len Brown <len.brown@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions