Messages in this thread | | | Subject | Re: [PATCH] ASN.1: mark expected switch fall-throughs | From | "Gustavo A. R. Silva" <> | Date | Fri, 25 Jan 2019 18:57:54 -0600 |
| |
On 1/25/19 6:38 PM, Kees Cook wrote: > On Sat, Jan 26, 2019 at 9:49 AM Gustavo A. R. Silva > <gustavo@embeddedor.com> wrote: >> >> In preparation to enabling -Wimplicit-fallthrough, mark switch >> cases where we are expecting to fall through. >> >> This patch fixes the following warnings: >> >> lib/asn1_decoder.c:386:6: warning: this statement may fall through [-Wimplicit-fallthrough=] >> lib/asn1_decoder.c:449:6: warning: this statement may fall through [-Wimplicit-fallthrough=] >> >> Warning level 3 was used: -Wimplicit-fallthrough=3 >> >> This patch is part of the ongoing efforts to enabling >> -Wimplicit-fallthrough. >> >> Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> > > Reviewed-by: Kees Cook <keescook@chromium.org> >
Now applied to for-next/kspp, thanks.
https://git.kernel.org/gustavoars/c/482c7212e6af6a3362e337fb49e2e101e4578644
Cheers! -- Gustavo
| |