Messages in this thread | | | From | Linus Torvalds <> | Date | Tue, 19 May 2020 09:36:15 -0700 | Subject | Re: [PATCH 11/20] bpf: factor out a bpf_trace_copy_string helper |
| |
On Tue, May 19, 2020 at 9:14 AM Christoph Hellwig <hch@lst.de> wrote: > > I don't think we need it as the case of > > case 'a': > case 'b': > do_stuff(); > break; > > has always been fine even with the fallthough warnings. And the > rest of the stuff gets removed by cpp..
You're right. I read it as a fallthrough because as a human it looks like there's code in there between, but yeah, the compiler won't actually ever see it.
So scratch that objection.
Linus
| |