diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-08-23 00:46:06 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-23 01:18:00 +0200 |
commit | 4a00aa057759d713e1296ecbc614fa560d569977 (patch) | |
tree | 302fa8f14434955ed03cb0838eef931a975b44eb /lib/memweight.c | |
parent | net: sched: use kvmalloc() for class hash tables (diff) | |
download | linux-4a00aa057759d713e1296ecbc614fa560d569977.tar.xz linux-4a00aa057759d713e1296ecbc614fa560d569977.zip |
MIPS,bpf: fix missing break in switch statement
There is a missing break causing a fall-through and setting
ctx.use_bbit_insns to the wrong value. Fix this by adding the
missing break.
Detected with cppcheck:
"Variable 'ctx.use_bbit_insns' is reassigned a value before the old
one has been used. 'break;' missing?"
Fixes: 8d8d18c3283f ("MIPS,bpf: Fix using smp_processor_id() in preemptible splat.")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: David Daney <david.daney@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/memweight.c')
0 files changed, 0 insertions, 0 deletions