Please sign in to comment.
ACPI/AC: prevent OOPS on some boxes due to missing check power_supply…
…_register() return value check 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 <firstname.lastname@example.org> Cc: email@example.com Signed-off-by: Len Brown <firstname.lastname@example.org>
- Loading branch information...