diff mbox series

acpi: iort: update the IORT node dump

Message ID 20220401071957.40522-1-ivan.hu@canonical.com
State Accepted
Headers show
Series acpi: iort: update the IORT node dump | expand

Commit Message

ivanhu April 1, 2022, 7:19 a.m. UTC
update the node dump from reserved to identifier

Signed-off-by: Ivan Hu <ivan.hu@canonical.com>
---
 src/acpi/iort/iort.c        | 4 +---
 src/lib/include/fwts_acpi.h | 2 +-
 2 files changed, 2 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/src/acpi/iort/iort.c b/src/acpi/iort/iort.c
index dfd9c074..906d3077 100644
--- a/src/acpi/iort/iort.c
+++ b/src/acpi/iort/iort.c
@@ -42,7 +42,7 @@  static void iort_node_dump(
 	fwts_log_info_simp_int(fw, "  Type:                     ", node->type);
 	fwts_log_info_simp_int(fw, "  Length:                   ", node->length);
 	fwts_log_info_simp_int(fw, "  Revision:                 ", node->revision);
-	fwts_log_info_simp_int(fw, "  Reserved:                 ", node->reserved);
+	fwts_log_info_simp_int(fw, "  Identifier:               ", node->identifier);
 	fwts_log_info_simp_int(fw, "  Number of ID mappings:    ", node->id_mappings_count);
 	fwts_log_info_simp_int(fw, "  Reference to ID Array:    ", node->id_array_offset);
 }
@@ -99,8 +99,6 @@  static void iort_node_check(
 		}
 	}
 
-	fwts_acpi_reserved_zero("IORT", "Node Reserved", node->reserved, passed);
-
 	if (no_id_mappings && node->id_mappings_count) {
 		*passed = false;
 		fwts_failed(fw, LOG_LEVEL_LOW,
diff --git a/src/lib/include/fwts_acpi.h b/src/lib/include/fwts_acpi.h
index b317b50b..d69a91ba 100644
--- a/src/lib/include/fwts_acpi.h
+++ b/src/lib/include/fwts_acpi.h
@@ -2026,7 +2026,7 @@  typedef struct {
 	uint8_t		type;
 	uint16_t	length;
 	uint8_t		revision;
-	uint32_t	reserved;
+	uint32_t	identifier;
 	uint32_t	id_mappings_count;
 	uint32_t	id_array_offset;
 } __attribute__ ((packed)) fwts_acpi_table_iort_node;