From 6f9805e0c7aaba7c5ea3ae51486f4d8dec570fc5 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Tue, 10 May 2022 18:21:25 +0200 Subject: [PATCH] soc/intel/alderlake: Use correct formatted print for size_t Change-Id: Ifc0374ed49ecefc57dec8e72e73bac031838a9f5 Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/coreboot/+/64238 Reviewed-by: Angel Pons Reviewed-by: Elyes Haouas Tested-by: build bot (Jenkins) --- src/soc/intel/alderlake/bootblock/update_descriptor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/soc/intel/alderlake/bootblock/update_descriptor.c b/src/soc/intel/alderlake/bootblock/update_descriptor.c index 436825dcd7..dbb152c184 100644 --- a/src/soc/intel/alderlake/bootblock/update_descriptor.c +++ b/src/soc/intel/alderlake/bootblock/update_descriptor.c @@ -60,7 +60,7 @@ void configure_descriptor(struct descriptor_byte *bytes, size_t num) for (size_t i = 0; i < num; i++) { size_t offset = bytes[i].offset; uint8_t desired_value = bytes[i].desired_value; - printk(BIOS_DEBUG, "Current value of Descriptor byte 0x%lx: 0x%x\n", + printk(BIOS_DEBUG, "Current value of Descriptor byte 0x%zx: 0x%x\n", offset, si_desc_buf[offset]); if (si_desc_buf[offset] != desired_value) { update_required = true;