From 06b158a4907149ce5fa050145a1490885fa42d68 Mon Sep 17 00:00:00 2001 From: Masayuki Ishikawa Date: Tue, 19 Jul 2022 08:05:14 +0900 Subject: [PATCH] arch: arm64: Fix warnings in arm64_cpstart.c Summary: - Fix warnings in arm64_cpstart.c if CONFIG_DEBUG_INFO=n Impact: - None Testing: - Tested with qemu-a53:nsh_smp Signed-off-by: Masayuki Ishikawa --- arch/arm64/src/common/arm64_cpustart.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/src/common/arm64_cpustart.c b/arch/arm64/src/common/arm64_cpustart.c index 0748813f8f..7a25f82fcb 100644 --- a/arch/arm64/src/common/arm64_cpustart.c +++ b/arch/arm64/src/common/arm64_cpustart.c @@ -155,7 +155,7 @@ static void arm64_start_cpu(int cpu_num, char *stack, int stack_sz, if (pcsi_cpu_on(cpu_mpid, (uint64_t)&__start)) { - sinfo("Failed to boot secondary CPU core %d (MPID:%#llx)\n", cpu_num, + sinfo("Failed to boot secondary CPU core %d (MPID:%#lx)\n", cpu_num, cpu_mpid); return; } @@ -167,7 +167,7 @@ static void arm64_start_cpu(int cpu_num, char *stack, int stack_sz, SP_WFE(); } - sinfo("Secondary CPU core %d (MPID:%#llx) is up\n", cpu_num, cpu_mpid); + sinfo("Secondary CPU core %d (MPID:%#lx) is up\n", cpu_num, cpu_mpid); } /****************************************************************************