diff options
author | 2021-08-15 12:18:52 -0700 | |
---|---|---|
committer | 2021-08-19 09:37:56 +0300 | |
commit | e879f855e590b40fe3c79f2fbd8f65ca3c724120 (patch) | |
tree | 1b6a77daa992a1d185651b9d4c62663ea8285868 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bus: ti-sysc: Fix error handling for sysc_check_active_timer() (diff) | |
download | wireguard-linux-e879f855e590b40fe3c79f2fbd8f65ca3c724120.tar.xz wireguard-linux-e879f855e590b40fe3c79f2fbd8f65ca3c724120.zip |
bus: ti-sysc: Add break in switch statement in sysc_init_soc()
After commit a6d90e9f2232 ("bus: ti-sysc: AM3: RNG is GP only"), clang
with -Wimplicit-fallthrough enabled warns:
drivers/bus/ti-sysc.c:2958:3: warning: unannotated fall-through between
switch labels [-Wimplicit-fallthrough]
default:
^
drivers/bus/ti-sysc.c:2958:3: note: insert 'break;' to avoid
fall-through
default:
^
break;
1 warning generated.
Clang's version of this warning is a little bit more pedantic than
GCC's. Add the missing break to satisfy it to match what has been done
all over the kernel tree.
Fixes: a6d90e9f2232 ("bus: ti-sysc: AM3: RNG is GP only")
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions