You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2022/07/19 02:49:39 UTC
[incubator-nuttx] branch master updated: arch: arm64: Fix warnings in arm64_cpstart.c
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 06b158a490 arch: arm64: Fix warnings in arm64_cpstart.c
06b158a490 is described below
commit 06b158a4907149ce5fa050145a1490885fa42d68
Author: Masayuki Ishikawa <ma...@gmail.com>
AuthorDate: Tue Jul 19 08:05:14 2022 +0900
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 <Ma...@jp.sony.com>
---
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);
}
/****************************************************************************