From: Hanjun Guo Date: Fri, 31 May 2013 03:36:08 +0000 (+0800) Subject: ACPI / processor: Fix potential NULL pointer dereference in acpi_processor_add() X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~19^2~19^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=173a5a4c909789fcd57d00355d2237618a3824a4;p=pandora-kernel.git 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 Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed