summaryrefslogtreecommitdiffstats
path: root/lib/cpumask.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-02-23 00:14:57 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-02-23 00:27:29 +0100
commita84363d6fdba14663b6b155eec604b6c0f6f8866 (patch)
treebfa5ff35a74041ee312fdbb1f0e2f935e4196ef6 /lib/cpumask.c
parentACPI / hotplug: Fix concurrency issues and memory leaks (diff)
downloadlinux-a84363d6fdba14663b6b155eec604b6c0f6f8866.tar.xz
linux-a84363d6fdba14663b6b155eec604b6c0f6f8866.zip
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>
Diffstat (limited to 'lib/cpumask.c')
0 files changed, 0 insertions, 0 deletions