From 138db0601d4e023a6b1fb8cbf67f9b7f10859288 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Fri, 18 Feb 2022 13:06:59 +0100 Subject: [PATCH] soc/intel/adl/bootblock/report_platform.c: Use the correct format Change-Id: I54c40434f44621c4ea6564ac9c87c5b2fa083b5d Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/coreboot/+/62176 Tested-by: build bot (Jenkins) Reviewed-by: Tim Wawrzynczak --- src/soc/intel/alderlake/bootblock/report_platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/soc/intel/alderlake/bootblock/report_platform.c b/src/soc/intel/alderlake/bootblock/report_platform.c index 8902adffce..6b526f12ef 100644 --- a/src/soc/intel/alderlake/bootblock/report_platform.c +++ b/src/soc/intel/alderlake/bootblock/report_platform.c @@ -150,7 +150,7 @@ static void report_cache_info(void) printk(BIOS_INFO, "Associativity = %zd Partitions = %zd Line Size = %zd Sets = %zd\n", info.num_ways, info.physical_partitions, info.line_size, info.num_sets); - printk(BIOS_INFO, "Cache size = %ld MiB\n", get_cache_size(&info)/MiB); + printk(BIOS_INFO, "Cache size = %zu MiB\n", get_cache_size(&info)/MiB); } static void report_cpu_info(void)