linux/drivers/acpi/apei
Rafael J. Wysocki a84363d6fd ACPI / APEI: Fix crash in apei_hest_parse() for acpi=off
After commit 92ef2a2 (ACPI: Change the ordering of PCI root bridge
driver registrarion), acpi_hest_init() is never called for acpi=off
(acpi_disabled), so hest_disable is not set, but hest_tab is NULL,
which causes apei_hest_parse() to crash when it is called from
aer_acpi_firmware_first().

Fix that by making apei_hest_parse() check if hest_tab is not NULL
in addition to checking hest_disable.  Also remove the now useless
acpi_disabled check from apei_hest_parse().

Reported-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2013-02-23 00:27:29 +01:00
..
apei-base.c ACPI, APEI: Fixup incorrect 64-bit access width firmware bug 2013-01-19 01:34:43 +01:00
apei-internal.h ACPI, APEI, Avoid too much error reporting in runtime 2012-06-12 00:17:18 -04:00
cper.c CPER failed to handle generic error records with multiple sections 2012-03-30 04:01:26 -04:00
einj.c ACPI, APEI, EINJ: Add missed ACPI5 support for error trigger table 2012-12-07 11:50:02 -08:00
erst-dbg.c ACPI / APEI: Fix the returned value in erst_dbg_read 2013-01-03 13:10:20 +01:00
erst.c efi_pstore: Add a sequence counter to a variable name 2012-11-26 16:07:44 -08:00
ghes.c Driver core updates for 3.8-rc1 2012-12-11 13:13:55 -08:00
hest.c ACPI / APEI: Fix crash in apei_hest_parse() for acpi=off 2013-02-23 00:27:29 +01:00
Kconfig llist: Make some llist functions inline 2011-10-04 11:30:53 +02:00
Makefile ACPI, APEI, ERST debug support 2010-08-14 22:47:55 -04:00