ACPICA: Revert "Fix for implicit result conversion for the To____ functions"
authorBob Moore <robert.moore@intel.com>
Thu, 15 Feb 2018 21:17:04 +0000 (13:17 -0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 21 Feb 2018 22:51:08 +0000 (23:51 +0100)
commit7decc66df940fc0b128a642df9ac3d917f1b0c1f
treee1841f65dc6dd7032cd56fda2fc44c4fd07f5232
parent1ef6323148174798b55024d5442a02fea416ce21
ACPICA: Revert "Fix for implicit result conversion for the To____ functions"

ACPICA commit 0e44fee13434766ebbb4d156e3ed45604508d7c3

This reverts commit e1342c9f2dde37a67e916099658b65984ef8a434.
Implicit conversion should in fact be disabled for the "explicit
conversion" operators. This is stated in the ACPI specification.
The operators affected are:
to_integer
to_string
to_buffer
to_decimal_string
to_hex_string
to_BCD
from_BCD

Link: https://github.com/acpica/acpica/commit/0e44fee1
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/acopcode.h
drivers/acpi/acpica/amlcode.h
drivers/acpi/acpica/exconvrt.c
drivers/acpi/acpica/exresop.c