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>
This commit is contained in:
Arthur Heymans 2022-05-10 18:21:25 +02:00
parent e6d6e7dd12
commit 6f9805e0c7
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ void configure_descriptor(struct descriptor_byte *bytes, size_t num)
for (size_t i = 0; i < num; i++) { for (size_t i = 0; i < num; i++) {
size_t offset = bytes[i].offset; size_t offset = bytes[i].offset;
uint8_t desired_value = bytes[i].desired_value; 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]); offset, si_desc_buf[offset]);
if (si_desc_buf[offset] != desired_value) { if (si_desc_buf[offset] != desired_value) {
update_required = true; update_required = true;