ACPICA: ACPI 6.0: Add ACPI_SUB_PTR().
authorLv Zheng <lv.zheng@intel.com>
Thu, 21 May 2015 02:31:24 +0000 (10:31 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 22 May 2015 01:22:20 +0000 (03:22 +0200)
commit69ee810cbbca8d6834cdbbb31a8a00fa9ad91c47
tree591d7cae72984b471c609557edfc586a7a0e35cb
parent0cff8dc0099f6d4f7431181918b37a472bcd1bbb
ACPICA: ACPI 6.0: Add ACPI_SUB_PTR().

ACPICA commit 5de82757aef5d6163e37064033aacbce193abbca

Using a minus number with ACPI_ADD_PTR() will cause compiler warnings, such
warnings cannot be eliminated by force casting an unsigned value to a
signed value. This patch thus introduces ACPI_SUB_PTR() to be used with
minus numbers. Lv Zheng.

Link: https://github.com/acpica/acpica/commit/5de82757
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
include/acpi/actypes.h