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>
This commit is contained in:
parent
2888c80f26
commit
4cd8f61924
|
@ -61,12 +61,12 @@ enum cb_err acpi_soc_get_bert_region(void **region, size_t *length)
|
||||||
if (cpu_record_size) {
|
if (cpu_record_size) {
|
||||||
cl_data = new_cper_fw_error_crashlog(status, cpu_record_size);
|
cl_data = new_cper_fw_error_crashlog(status, cpu_record_size);
|
||||||
if (!cl_data) {
|
if (!cl_data) {
|
||||||
printk(BIOS_ERR, "Crashlog CPU entry(size %lu) "
|
printk(BIOS_ERR, "Crashlog CPU entry(size %zu) "
|
||||||
"would exceed available region\n",
|
"would exceed available region\n",
|
||||||
cpu_record_size);
|
cpu_record_size);
|
||||||
return CB_ERR;
|
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_data, cpu_record_size);
|
||||||
cl_fill_cpu_records(cl_data);
|
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);
|
cl_data = new_cper_fw_error_crashlog(status, pmc_record_size);
|
||||||
if (!cl_data) {
|
if (!cl_data) {
|
||||||
printk(BIOS_ERR, "Crashlog PMC entry(size %lu) "
|
printk(BIOS_ERR, "Crashlog PMC entry(size %zu) "
|
||||||
"would exceed available region\n",
|
"would exceed available region\n",
|
||||||
pmc_record_size);
|
pmc_record_size);
|
||||||
return CB_ERR;
|
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_data, pmc_record_size);
|
||||||
cl_fill_pmc_records(cl_data);
|
cl_fill_pmc_records(cl_data);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue