ACPICA: acpi_read: On error, do not modify the return value target location.
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Mon, 23 Sep 2013 01:51:22 +0000 (09:51 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 23 Sep 2013 23:46:23 +0000 (01:46 +0200)
commitc3faedcdb41a2fedbec8ca8f8612d67b012b44a2
treed287953ff51e44e7f3be93d42f9d7d825b69a5ad
parentf28eb9f5009abdc74d4052ae05c01795e254a6fc
ACPICA: acpi_read: On error, do not modify the return value target location.

If an error happens in the middle of a split 32/32 64-bit I/O
operation, do not modify the target of the return value pointer.
Makes the code consistent with the rest of ACPICA. Bjorn Helgaas.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Reviewed-by: Len Brown <len.brown@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/hwxface.c