Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 78b95b66 authored by Markos Chandras's avatar Markos Chandras Committed by Ralf Baechle
Browse files

MIPS: bpf: Use pr_debug instead of pr_warn for unhandled opcodes



We should prevent spamming the logs during normal execution of bpf-jit.

Signed-off-by: default avatarMarkos Chandras <markos.chandras@imgtec.com>
Suggested-by: default avatarAlexei Starovoitov <ast@plumgrid.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Daniel Borkmann <dborkman@redhat.com>
Cc: Alexei Starovoitov <ast@plumgrid.com>
Cc: netdev@vger.kernel.org
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/7129/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 91a41d7f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1345,7 +1345,7 @@ static int build_body(struct jit_ctx *ctx)
			emit_half_load(r_A, r_skb, off, ctx);
			break;
		default:
			pr_warn("%s: Unhandled opcode: 0x%02x\n", __FILE__,
			pr_debug("%s: Unhandled opcode: 0x%02x\n", __FILE__,
				 inst->code);
			return -1;
		}