arch/risc-v: Fix typo in riscv_assert.c

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
Huang Qi 2022-01-13 20:38:28 +08:00 committed by Petro Karashchenko
parent 3c15ae23cf
commit 7c93e96908

View File

@ -82,7 +82,7 @@ static void riscv_stackdump(uintptr_t sp, uintptr_t stack_top)
for (stack = sp & ~0x1f; stack < (stack_top & ~0x1f); stack += 32)
{
uint32_t *ptr = (uint32_t *)stack;
_alert(PRIxREG ": %08" PRIx32 " %08" PRIx32 " %08" PRIx32
_alert("%" PRIxREG ": %08" PRIx32 " %08" PRIx32 " %08" PRIx32
" %08" PRIx32 " %08" PRIx32 " %08" PRIx32 " %08" PRIx32
" %08" PRIx32 "\n",
stack, ptr[0], ptr[1], ptr[2], ptr[3],