summaryrefslogtreecommitdiffstats
path: root/mm/memory_hotplug.c
diff options
context:
space:
mode:
authorHanjun Guo2013-05-31 05:36:08 +0200
committerRafael J. Wysocki2013-06-01 22:23:39 +0200
commit173a5a4c909789fcd57d00355d2237618a3824a4 (patch)
tree612b1a86e74a833e9412f992cbc4f75b641478bc /mm/memory_hotplug.c
parentMemory hotplug / ACPI: Simplify memory removal (diff)
downloadkernel-qcow2-linux-173a5a4c909789fcd57d00355d2237618a3824a4.tar.gz
kernel-qcow2-linux-173a5a4c909789fcd57d00355d2237618a3824a4.tar.xz
kernel-qcow2-linux-173a5a4c909789fcd57d00355d2237618a3824a4.zip
ACPI / processor: Fix potential NULL pointer dereference in acpi_processor_add()
In acpi_processor_add(), get_cpu_device() may return NULL in some cases which is then passed to acpi_bind_one() and that will case a NULL pointer dereference to occur. Add a check to prevent that from happening. [rjw: Changelog] Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'mm/memory_hotplug.c')
0 files changed, 0 insertions, 0 deletions