mirror of
https://github.com/apache/nuttx.git
synced 2026-08-06 21:19:03 +00:00
arch/risc-v: Correct format of 32-bit insn in misaligned handler
FIx: Format specifies type 'unsigned long' but the argument has type 'uint32_t' (aka 'unsigned int') Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
parent
898d789a5f
commit
f5cf35784e
1 changed files with 1 additions and 1 deletions
|
|
@ -447,7 +447,7 @@ static bool decode_insn(uintptr_t *regs, riscv_insn_ctx_t *ctx)
|
|||
case INSN_FSD:
|
||||
_alert("Misaligned float instruction not support yet\n");
|
||||
default:
|
||||
_alert("Uncompressed: %lx\n", insn.insn);
|
||||
_alert("Uncompressed: %x\n", insn.insn);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue