aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/utresrc.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-06-05 23:33:39 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-06-05 23:33:39 +0200
commit186f0a0d8e083505bd5cd23baa82b2205224d9ad (patch)
tree474a6db996289829dc977c0393bdac5742c4af22 /drivers/acpi/acpica/utresrc.c
parentACPICA: Tables: Fix regression introduced by a too early mechanism enabling (diff)
downloadlinux-dev-186f0a0d8e083505bd5cd23baa82b2205224d9ad.tar.xz
linux-dev-186f0a0d8e083505bd5cd23baa82b2205224d9ad.zip
Revert "ACPICA: Disassembler: Enhance resource descriptor detection"
Revert commit da28e1955d7f (ACPICA: Disassembler: Enhance resource descriptor detection) as it is based on an assumption that doesn't hold all the time and causes problems to happen because of that. Reported-by: Linda Knippers <linda.knippers@hpe.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/utresrc.c')
-rw-r--r--drivers/acpi/acpica/utresrc.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/acpi/acpica/utresrc.c b/drivers/acpi/acpica/utresrc.c
index e0587c85bafd..ff096d9755b9 100644
--- a/drivers/acpi/acpica/utresrc.c
+++ b/drivers/acpi/acpica/utresrc.c
@@ -474,15 +474,6 @@ acpi_ut_walk_aml_resources(struct acpi_walk_state *walk_state,
return_ACPI_STATUS(AE_AML_NO_RESOURCE_END_TAG);
}
- /*
- * The end_tag opcode must be followed by a zero byte.
- * Although this byte is technically defined to be a checksum,
- * in practice, all ASL compilers set this byte to zero.
- */
- if (*(aml + 1) != 0) {
- return_ACPI_STATUS(AE_AML_NO_RESOURCE_END_TAG);
- }
-
/* Return the pointer to the end_tag if requested */
if (!user_function) {