[PATCH] acpi: pmtt: fix the wrong table lable

Ivan Hu ivan.hu at canonical.com
Fri Jul 8 10:04:15 UTC 2022


Signed-off-by: Ivan Hu <ivan.hu at canonical.com>
---
 src/acpi/pmtt/pmtt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/acpi/pmtt/pmtt.c b/src/acpi/pmtt/pmtt.c
index 68a4cca3..499a5608 100644
--- a/src/acpi/pmtt/pmtt.c
+++ b/src/acpi/pmtt/pmtt.c
@@ -192,7 +192,7 @@ static int pmtt_test1(fwts_framework *fw)
 	offset = sizeof(fwts_acpi_table_pmtt);
 	while (offset < table->length) {
 
-		if (fwts_acpi_structure_length_zero(fw, "PHAT", entry->length, offset)) {
+		if (fwts_acpi_structure_length_zero(fw, "PMTT", entry->length, offset)) {
 			passed = false;
 			break;
 		}
-- 
2.25.1




More information about the fwts-devel mailing list