Re: [PATCH][net-next] MIPS,bpf: fix missing break in switch statement

2017-08-22 Thread David Miller
From: Colin King Date: Tue, 22 Aug 2017 23:46:06 +0100 > From: Colin Ian King > > 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 reassig

[PATCH][net-next] MIPS,bpf: fix missing break in switch statement

2017-08-22 Thread Colin King
From: Colin Ian King 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: