summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2022-05-10 18:21:25 +0200
committerArthur Heymans <arthur@aheymans.xyz>2022-05-13 11:00:50 +0000
commit6f9805e0c7aaba7c5ea3ae51486f4d8dec570fc5 (patch)
treea97f6cdc80765651e3fa3ae69df8016d462eeeea
parente6d6e7dd12b08e0138bba2ff153c480f3553eedb (diff)
soc/intel/alderlake: Use correct formatted print for size_t
Change-Id: Ifc0374ed49ecefc57dec8e72e73bac031838a9f5 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/64238 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/soc/intel/alderlake/bootblock/update_descriptor.c2
1 files changed, 1 insertions, 1 deletions
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;