[PATCH 4/4] powerpc: Add -Wimplicit-fallthrough to arch CFLAGS
Michael Ellerman
mpe at ellerman.id.au
Thu Oct 11 11:32:46 AEDT 2018
Kees Cook <keescook at chromium.org> writes:
> On Tue, Oct 9, 2018 at 10:13 PM, Michael Ellerman <mpe at ellerman.id.au> wrote:
>> Warn whenever a switch statement has a fallthrough without a comment
>> annotating it.
>>
>> Signed-off-by: Michael Ellerman <mpe at ellerman.id.au>
>
> Yes please. :)
>
> Reviewed-by: Kees Cook <keescook at chromium.org>
Haha, thanks.
It still pops a few errors, including in linux/signal.h & compat.h, so
it's somewhat aspirational until we can get those fixed up :)
cheers
More information about the Linuxppc-dev
mailing list