Skip to content

Commit 92826ff

Browse files
moonlight83340dkalowsk
authored andcommitted
arch: arm64: core: fatal: mark unused function argument
Use ARG_UNUSED() to mark unused function argument. Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
1 parent 1d44903 commit 92826ff

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

arch/arm64/core/fatal.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,10 @@ static bool z_arm64_stack_corruption_check(struct arch_esf *esf, uint64_t esr, u
362362
static bool is_recoverable(struct arch_esf *esf, uint64_t esr, uint64_t far,
363363
uint64_t elr)
364364
{
365+
ARG_UNUSED(esr);
366+
ARG_UNUSED(far);
367+
ARG_UNUSED(elr);
368+
365369
if (!esf) {
366370
return false;
367371
}

0 commit comments

Comments
 (0)