diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-02-08 20:01:46 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-07-15 10:16:12 (GMT) |
commit | a814c7d1d8f4232e3c12f954d7b1789616258189 (patch) | |
tree | 0b599f0060d1732098a091d28d464d93604ec649 /lib/mpi/generic_mpih-mul2.c | |
parent | 94218786b3ba106014a2e523907ea72cd316627f (diff) | |
download | linux-a814c7d1d8f4232e3c12f954d7b1789616258189.tar.xz |
perf top: Use __fallthrough
commit 7b0214b702ad8e124e039a317beeebb3f020d125 upstream.
The implicit fall through case label here is intended, so let us inform
that to gcc >= 7:
CC /tmp/build/perf/builtin-top.o
builtin-top.c: In function 'display_thread':
builtin-top.c:644:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
if (errno == EINTR)
^
builtin-top.c:647:3: note: here
default:
^~~~~~~
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-lmcfnnyx9ic0m6j0aud98p4e@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/mpi/generic_mpih-mul2.c')
0 files changed, 0 insertions, 0 deletions