From: Rafael J. Wysocki Date: Mon, 13 Apr 2015 19:35:51 +0000 (+0200) Subject: ACPI / scan: Fix NULL pointer dereference in acpi_companion_match() X-Git-Tag: omap-for-v4.1/fixes-rc1~144^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f2e3274e527ec52413b43b5a9b30422eda4cdd2;p=pandora-kernel.git ACPI / scan: Fix NULL pointer dereference in acpi_companion_match() Commit e1acdeb0e770 "ACPI / scan: Simplify acpi_match_device()" introduced code that may lead to a NULL pointer dereference when trying to unlock a mutex. Fix that. Fixes: e1acdeb0e770 "ACPI / scan: Simplify acpi_match_device()" Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed