]> git.karo-electronics.de Git - linux-beck.git/commit
ACPI / scan: Fix NULL pointer dereference in acpi_companion_match()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 13 Apr 2015 19:35:51 +0000 (21:35 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 13 Apr 2015 19:35:51 +0000 (21:35 +0200)
commit5f2e3274e527ec52413b43b5a9b30422eda4cdd2
treecc535a6fe30226afea64d02bed3636571a5eeade
parent8765c5ba19490c9167fe0c4e05c2dfdcc39873a3
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 <rafael.j.wysocki@intel.com>
drivers/acpi/scan.c