Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1717878
| From | Daniel Borkmann <daniel@iogearbox.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH][next] MIPS,bpf: fix missing break in switch statement |
| Date | 2017-08-23 00:40 +0200 |
| Message-ID | <uhq01-hY-17@gated-at.bofh.it> (permalink) |
| References | <uhpx0-74-31@gated-at.bofh.it> <uhq01-hY-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 08/23/2017 12:29 AM, David Daney wrote:
> On 08/22/2017 03:03 PM, Colin King wrote:
>> From: Colin Ian King <colin.king@canonical.com>
>>
>> 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>
>
> Crap! That slipped through. Thanks for fixing it.
>
> Tested and ...
>
> Acked-by: David Daney <david.daney@cavium.com>
Colin, can you send this with David's ACK to netdev in Cc
so it lands in patchwork? It's for net-next tree. Thanks!
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH][next] MIPS,bpf: fix missing break in switch statement Colin King <colin.king@canonical.com> - 2017-08-23 00:10 +0200 Re: [PATCH][next] MIPS,bpf: fix missing break in switch statement Daniel Borkmann <daniel@iogearbox.net> - 2017-08-23 00:40 +0200
csiph-web