[lkml]   [2019]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] MIPS: perf events: handle switch statement falling through warnings

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 <>
> Cc: Ingo Molnar <>
> Cc: Arnaldo Carvalho de Melo <>
> Cc: Alexander Shishkin <>
> Cc: Jiri Olsa <>
> Cc: Namhyung Kim <>
> Cc: Gustavo A. R. Silva <>
> Cc: Kees Cook <>
> Signed-off-by: Stephen Rothwell <>

Applied (with some tweaks) to mips-next.


[ This message was auto-generated; if you believe anything is incorrect
then please email to report it. ]

 \ /
  Last update: 2019-07-15 13:23    [W:0.040 / U:0.956 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site