Hello,
Stephen Rothwell wrote:
> Now that we build with -Wimplicit-fallthrough=3, some warnings are
> produced in the arch/mips perf events code that are promoted to errors:
>
> arch/mips/kernel/perf_event_mipsxx.c:792:3: error: this statement may fall
> through [-Werror=implicit-fallthrough=]
> arch/mips/kernel/perf_event_mipsxx.c:795:3: error: this statement may fall
> through [-Werror=implicit-fallthrough=]
> arch/mips/kernel/perf_event_mipsxx.c:798:3: error: this statement may fall
> through [-Werror=implicit-fallthrough=]
> arch/mips/kernel/perf_event_mipsxx.c:1407:6: error: this statement may fall
> through [-Werror=implicit-fallthrough=]
>
> Assume the fall throughs are deliberate amd annotate/eliminate them.
>
> Cc: Peter Zijlstra <[email protected]>
> Cc: Ingo Molnar <[email protected]>
> Cc: Arnaldo Carvalho de Melo <[email protected]>
> Cc: Alexander Shishkin <[email protected]>
> Cc: Jiri Olsa <[email protected]>
> Cc: Namhyung Kim <[email protected]>
> Cc: Gustavo A. R. Silva <[email protected]>
> Cc: Kees Cook <[email protected]>
> Signed-off-by: Stephen Rothwell <[email protected]>
Applied (with some tweaks) to mips-next.
Thanks,
Paul
[ This message was auto-generated; if you believe anything is incorrect
then please email [email protected] to report it. ]