summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/utresrc.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-08-04 00:14:35 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-08-04 00:14:35 +0200
commit0d624f553c7e1523c196853d51d2e31ab469ef04 (patch)
treef5e89b56f81932aa9815d60cf0d82d3abb73264a /drivers/acpi/acpica/utresrc.c
parent16f73eb02d7e1765ccab3d2018e0bd98eb93d973 (diff)
parent4a9673dd50c2362f5bd2d03c89099267b49d400a (diff)
downloadop-kernel-dev-0d624f553c7e1523c196853d51d2e31ab469ef04.zip
op-kernel-dev-0d624f553c7e1523c196853d51d2e31ab469ef04.tar.gz
Merge branch 'acpica' into acpi-dma
Diffstat (limited to 'drivers/acpi/acpica/utresrc.c')
-rw-r--r--drivers/acpi/acpica/utresrc.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/utresrc.c b/drivers/acpi/acpica/utresrc.c
index 70f78a4..f9801d1 100644
--- a/drivers/acpi/acpica/utresrc.c
+++ b/drivers/acpi/acpica/utresrc.c
@@ -237,6 +237,13 @@ acpi_ut_walk_aml_resources(struct acpi_walk_state *walk_state,
return_ACPI_STATUS(AE_AML_NO_RESOURCE_END_TAG);
}
+ /*
+ * Don't attempt to perform any validation on the 2nd byte.
+ * Although all known ASL compilers insert a zero for the 2nd
+ * byte, it can also be a checksum (as per the ACPI spec),
+ * and this is occasionally seen in the field. July 2017.
+ */
+
/* Return the pointer to the end_tag if requested */
if (!user_function) {
OpenPOWER on IntegriCloud