diff options
author | Markos Chandras <markos.chandras@imgtec.com> | 2014-06-23 05:38:54 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-06-26 05:48:21 -0400 |
commit | 78b95b662c4c633206c997fe2bd25a9c680e047a (patch) | |
tree | cc75ad0cfb0b1fb7f59a13e436e47c050473ce15 /arch/mips/net | |
parent | 91a41d7f972b1d78b4bcbb61ada4a33c9d7ba8a3 (diff) |
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: Markos Chandras <markos.chandras@imgtec.com>
Suggested-by: Alexei 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: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/net')
-rw-r--r-- | arch/mips/net/bpf_jit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/net/bpf_jit.c b/arch/mips/net/bpf_jit.c index d852bb6d3fe3..1d228d27d759 100644 --- a/arch/mips/net/bpf_jit.c +++ b/arch/mips/net/bpf_jit.c | |||
@@ -1345,8 +1345,8 @@ jmp_cmp: | |||
1345 | emit_half_load(r_A, r_skb, off, ctx); | 1345 | emit_half_load(r_A, r_skb, off, ctx); |
1346 | break; | 1346 | break; |
1347 | default: | 1347 | default: |
1348 | pr_warn("%s: Unhandled opcode: 0x%02x\n", __FILE__, | 1348 | pr_debug("%s: Unhandled opcode: 0x%02x\n", __FILE__, |
1349 | inst->code); | 1349 | inst->code); |
1350 | return -1; | 1350 | return -1; |
1351 | } | 1351 | } |
1352 | } | 1352 | } |