summaryrefslogtreecommitdiff
path: root/payloads/coreinfo/coreboot_module.c
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/coreinfo/coreboot_module.c')
-rw-r--r--payloads/coreinfo/coreboot_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/coreinfo/coreboot_module.c b/payloads/coreinfo/coreboot_module.c
index d294288cf7..66c258249c 100644
--- a/payloads/coreinfo/coreboot_module.c
+++ b/payloads/coreinfo/coreboot_module.c
@@ -195,7 +195,7 @@ static int parse_header(void *addr, int len)
/* Now, walk the tables. */
ptr += header->header_bytes;
- for (i = 0; i < header->table_entries; i++) {
+ for (u32 j = 0; j < header->table_entries; j++) {
struct cb_record *rec = (struct cb_record *)ptr;
switch (rec->tag) {