Messages in this thread | | | Date | Fri, 2 Aug 2019 09:09:19 -0700 | From | Kees Cook <> | Subject | Re: [RFC PATCH] compiler_attributes.h: Add 'fallthrough' pseudo keyword for switch/case use |
| |
On Fri, Aug 02, 2019 at 02:34:18PM +0200, Pavel Machek wrote: > I like the "fallthrough". It looks like "return" and it should, no > need to have __'s there..
Yeah, it would have the same feel as "break", "continue", "return"...
The only place I see this already used is in net/sctp/sm_make_chunk.c, as a label, which would be trivial to adjust...
-- Kees Cook
| |