diff options
-rw-r--r-- | src/arch/x86/acpi_bert_storage.c | 2 | ||||
-rw-r--r-- | src/soc/intel/common/block/systemagent/memmap.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/x86/acpi_bert_storage.c b/src/arch/x86/acpi_bert_storage.c index ec31917444..f1dcf47c23 100644 --- a/src/arch/x86/acpi_bert_storage.c +++ b/src/arch/x86/acpi_bert_storage.c @@ -200,7 +200,7 @@ void *new_cper_fw_error_crashlog(acpi_generic_error_status_t *status, size_t cl_ { void *cl_data = bert_allocate_storage(cl_size); if (!cl_data) { - printk(BIOS_ERR, "Error: Crashlog entry (size %lu) would exceed available region\n", + printk(BIOS_ERR, "Error: Crashlog entry (size %zu) would exceed available region\n", cl_size); return NULL; } diff --git a/src/soc/intel/common/block/systemagent/memmap.c b/src/soc/intel/common/block/systemagent/memmap.c index ce842e850f..a67d050fcc 100644 --- a/src/soc/intel/common/block/systemagent/memmap.c +++ b/src/soc/intel/common/block/systemagent/memmap.c @@ -63,7 +63,7 @@ void bert_reserved_region(void **start, size_t *size) *start = cbmem_add(CBMEM_ID_ACPI_BERT, BERT_REGION_MAX_SIZE); *size = BERT_REGION_MAX_SIZE; - printk(BIOS_DEBUG, "Reserving BERT start %lx, size %lx\n", (uintptr_t)*start, *size); + printk(BIOS_DEBUG, "Reserving BERT start %lx, size %zx\n", (uintptr_t)*start, *size); } void fill_postcar_frame(struct postcar_frame *pcf) |