summaryrefslogtreecommitdiff
path: root/Documentation/memory-hotplug.txt
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-08-22 23:44:13 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-08-22 23:44:13 +0300
commit9b40eebcd339c47921ff8b04c77af7c762b74216 (patch)
treed9c83e571554f5524794343286144cf99e157e30 /Documentation/memory-hotplug.txt
parent14ccee78fc82f5512908f4424f541549a5705b89 (diff)
downloadlinux-9b40eebcd339c47921ff8b04c77af7c762b74216.tar.xz
ACPICA: Fix acpi_evaluate_object_typed()
Commit 2d2a954375a0 (ACPICA: Update two error messages to emit control method name) causes acpi_evaluate_object_typed() to fail if its pathname argument is NULL, but some callers of that function in the kernel, particularly acpi_nondev_subnode_data_ok(), pass NULL as pathname to it and expect it to work. For this reason, make acpi_evaluate_object_typed() check if its pathname argument is NULL and fall back to using the pathname of its handle argument if that is the case. Reported-by: Sakari Ailus <sakari.ailus@intel.com> Tested-by: Yang, Hyungwoo <hyungwoo.yang@intel.com> Fixes: 2d2a954375a0 (ACPICA: Update two error messages to emit control method name) Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'Documentation/memory-hotplug.txt')
0 files changed, 0 insertions, 0 deletions