From 92826ff3127bfeb0428e5874ca79cabd1928bb4d Mon Sep 17 00:00:00 2001 From: Gaetan Perrot Date: Sun, 6 Jul 2025 02:49:26 +0900 Subject: [PATCH] arch: arm64: core: fatal: mark unused function argument Use ARG_UNUSED() to mark unused function argument. Signed-off-by: Gaetan Perrot --- arch/arm64/core/fatal.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/core/fatal.c b/arch/arm64/core/fatal.c index cb5f485c0d5..c55a2fd02ef 100644 --- a/arch/arm64/core/fatal.c +++ b/arch/arm64/core/fatal.c @@ -362,6 +362,10 @@ static bool z_arm64_stack_corruption_check(struct arch_esf *esf, uint64_t esr, u static bool is_recoverable(struct arch_esf *esf, uint64_t esr, uint64_t far, uint64_t elr) { + ARG_UNUSED(esr); + ARG_UNUSED(far); + ARG_UNUSED(elr); + if (!esf) { return false; }