[prev in list] [next in list] [prev in thread] [next in thread]
List: fwts-devel
Subject: [PATCH] lib: fix offset error for GPIO connection descriptor
From: Alex Hung <alex.hung () canonical ! com>
Date: 2017-10-18 22:44:03
Message-ID: 1508366643-1475-1-git-send-email-alex.hung () canonical ! com
[Download RAW message or body]
Table reference is also removed because it changes very frequently when
ACPI spec updates
Signed-off-by: Alex Hung <alex.hung@canonical.com>
---
src/lib/src/fwts_acpi_object_eval.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/src/lib/src/fwts_acpi_object_eval.c b/src/lib/src/fwts_acpi_object_eval.c
index d980fd6..1151f4a 100644
--- a/src/lib/src/fwts_acpi_object_eval.c
+++ b/src/lib/src/fwts_acpi_object_eval.c
@@ -1557,15 +1557,14 @@ void fwts_method_test_CRS_large_resource_items(
fwts_failed(fw, LOG_LEVEL_MEDIUM, tmp,
"%s GPIO Connection Descriptor has an invalid "
"Connection Type 0x%" PRIx8 ".",
- name, data[2]);
+ name, data[4]);
*passed = false;
fwts_advice(fw,
"The GPIO pin connection type is "
"not recognised. It should be either "
"0x00 (interrupt connection) or "
- "0x01 (I/O connection). See table "
- "6-189 in section 6.4.3.8.1 of the ACPI "
- "specification.");
+ "0x01 (I/O connection). See section "
+ "6.4.3.8.1 of the ACPI specification.");
}
if ((data[9] > 0x03) && (data[9] < 0x80)) {
snprintf(tmp, sizeof(tmp), "Method%sGpioConnTypeInvalid", objname);
--
2.7.4
--
fwts-devel mailing list
fwts-devel@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/fwts-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic