]> git.baikalelectronics.ru Git - kernel.git/commit
ACPICA: Restore code that repairs NULL package elements in return values.
authorLv Zheng <lv.zheng@intel.com>
Wed, 26 Feb 2014 02:29:40 +0000 (10:29 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 26 Feb 2014 23:46:00 +0000 (00:46 +0100)
commit1e1317d6b8c08f8261d2d5c77da00f83fda4641a
tree5af5a7abc1baf616e510bc5c29c4ca4e7a096db4
parent94004a4b7a1b0ff7684eeecc80ddc15642bf2b74
ACPICA: Restore code that repairs NULL package elements in return values.

The original code was lost accidently, it was not generated along with the
following commit of mechanism improvements and thus not get merged:

  Commit: c8b3de54ae6c777499e9a3eac18b2f4e3d94de9b
  Subject: ACPICA: Add mechanism for early object repairs on a per-name basis

  Adds the framework to allow object repairs very early in the
  return object analysis. Enables repairs like string->unicode,
  etc.

This patch restores the implementation of the NULL element repair code for
ACPI_RTYPE_NONE.  In the original design, ACPI_RTYPE_NONE is defined to
collect simple NULL object repairs.
Lv Zheng.

Buglink: https://bugzilla.kernel.org/show_bug.cgi?id=67901
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Cc: 3.10+ <stable@vger.kernel.org> # 3.10+
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/nsrepair.c