Skip to content

Commit 4ac7849

Browse files
committed
bpf, arm32: Clarify JIT text logged for unknown BPF opcodes
Signed-off-by: Tony Ambardar <[email protected]>
1 parent d257fd3 commit 4ac7849

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/arm/net/bpf_jit_32.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2385,10 +2385,10 @@ static int build_insn(const struct bpf_insn *insn, struct jit_ctx *ctx,
23852385
emit(ARM_B(jmp_offset), ctx);
23862386
break;
23872387
notyet:
2388-
pr_info_once("*** NOT YET: opcode %02x ***\n", code);
2388+
pr_info_once("*** NOT YET: opcode 0x%02x ***\n", code);
23892389
return -EFAULT;
23902390
default:
2391-
pr_err_once("unknown opcode %02x\n", code);
2391+
pr_err_once("unknown opcode 0x%02x\n", code);
23922392
return -EINVAL;
23932393
}
23942394

0 commit comments

Comments
 (0)