Attention is currently required from: Arthur Heymans. Hello Arthur Heymans,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/coreboot/+/63052
to review the following change.
Change subject: soc/intel/*/meminit.c: Fix formatted print ......................................................................
soc/intel/*/meminit.c: Fix formatted print
This fixes building with clang.
Change-Id: If2686b0938d34cd66393eb14205c5c8a5b3ba98b Signed-off-by: Arthur Heymans arthur@aheymans.xyz --- M src/soc/intel/elkhartlake/meminit.c M src/soc/intel/jasperlake/meminit.c 2 files changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/52/63052/1
diff --git a/src/soc/intel/elkhartlake/meminit.c b/src/soc/intel/elkhartlake/meminit.c index d6de9a4..fd64c7d 100644 --- a/src/soc/intel/elkhartlake/meminit.c +++ b/src/soc/intel/elkhartlake/meminit.c @@ -12,7 +12,7 @@ { size_t spd_index = spd_info->spd_spec.spd_index;
- printk(BIOS_DEBUG, "SPD INDEX = %lu\n", spd_index); + printk(BIOS_DEBUG, "SPD INDEX = %zu\n", spd_index);
/* Memory leak is ok since we have memory mapped boot media */ assert(CONFIG(BOOT_DEVICE_MEMORY_MAPPED)); diff --git a/src/soc/intel/jasperlake/meminit.c b/src/soc/intel/jasperlake/meminit.c index 9ec1ffa..9cf5ecb 100644 --- a/src/soc/intel/jasperlake/meminit.c +++ b/src/soc/intel/jasperlake/meminit.c @@ -12,7 +12,7 @@ { size_t spd_index = spd_info->spd_spec.spd_index;
- printk(BIOS_DEBUG, "SPD INDEX = %lu\n", spd_index); + printk(BIOS_DEBUG, "SPD INDEX = %zu\n", spd_index);
/* Memory leak is ok since we have memory mapped boot media */ assert(CONFIG(BOOT_DEVICE_MEMORY_MAPPED));