diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2022-05-13 16:38:37 +0200 |
---|---|---|
committer | Arthur Heymans <arthur@aheymans.xyz> | 2022-05-14 14:19:35 +0000 |
commit | 4cd8f6192414acf958568ec51d5caf290048de91 (patch) | |
tree | 2108cf25bbb8a78f1adc58ae910ee605108eeaa0 /src/soc/intel | |
parent | 2888c80f262e5a54aa421f3c524bdffc31450aa2 (diff) |
soc/intel/acpi_bert.c: Fix formatted print type for size_t
Change-Id: I2b02bcecda2257f191c0d0fc9935b1eb673ab3d2
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/64335
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Diffstat (limited to 'src/soc/intel')
-rw-r--r-- | src/soc/intel/common/block/acpi/acpi_bert.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/soc/intel/common/block/acpi/acpi_bert.c b/src/soc/intel/common/block/acpi/acpi_bert.c index beb131ee1b..779466c8ad 100644 --- a/src/soc/intel/common/block/acpi/acpi_bert.c +++ b/src/soc/intel/common/block/acpi/acpi_bert.c @@ -61,12 +61,12 @@ enum cb_err acpi_soc_get_bert_region(void **region, size_t *length) if (cpu_record_size) { cl_data = new_cper_fw_error_crashlog(status, cpu_record_size); if (!cl_data) { - printk(BIOS_ERR, "Crashlog CPU entry(size %lu) " + printk(BIOS_ERR, "Crashlog CPU entry(size %zu) " "would exceed available region\n", cpu_record_size); return CB_ERR; } - printk(BIOS_DEBUG, "cl_data %p, cpu_record_size %lu\n", + printk(BIOS_DEBUG, "cl_data %p, cpu_record_size %zu\n", cl_data, cpu_record_size); cl_fill_cpu_records(cl_data); } @@ -82,12 +82,12 @@ enum cb_err acpi_soc_get_bert_region(void **region, size_t *length) cl_data = new_cper_fw_error_crashlog(status, pmc_record_size); if (!cl_data) { - printk(BIOS_ERR, "Crashlog PMC entry(size %lu) " + printk(BIOS_ERR, "Crashlog PMC entry(size %zu) " "would exceed available region\n", pmc_record_size); return CB_ERR; } - printk(BIOS_DEBUG, "cl_data %p, pmc_record_size %lu\n", + printk(BIOS_DEBUG, "cl_data %p, pmc_record_size %zu\n", cl_data, pmc_record_size); cl_fill_pmc_records(cl_data); } |