diff options
author | Nick Desaulniers <ndesaulniers@google.com> | 2020-11-15 20:35:32 -0800 |
---|---|---|
committer | Gustavo A. R. Silva <gustavoars@kernel.org> | 2020-11-18 14:18:09 -0600 |
commit | 49a41365052849be798716b374fabd436cce3ad0 (patch) | |
tree | b3eca8e976b9fb5024a3bd742846ac9a16f4c3c5 /kernel | |
parent | 4c1ca831adb1010e473a18eb01b3fbef7595f230 (diff) | |
download | linux-49a41365052849be798716b374fabd436cce3ad0.tar.gz linux-49a41365052849be798716b374fabd436cce3ad0.tar.bz2 linux-49a41365052849be798716b374fabd436cce3ad0.zip |
powerpc: fix -Wimplicit-fallthrough
The "fallthrough" pseudo-keyword was added as a portable way to denote
intentional fallthrough. Clang will still warn on cases where there is a
fallthrough to an immediate break. Add explicit breaks for those cases.
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Tested-by: Nathan Chancellor <natechancellor@gmail.com>
Reviewed-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Reviewed-by: Miguel Ojeda <ojeda@kernel.org>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Acked-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://github.com/ClangBuiltLinux/linux/issues/236
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions