diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2020-07-28 00:42:01 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-07-29 13:09:37 +0200 |
commit | 5e66a0cb5fbdc76f9ad86a1e8f43256dbad29ef7 (patch) | |
tree | d320688cd87a1138545921cba05dc63fc146a753 /arch/powerpc/xmon | |
parent | powerpc/book3s64/radix: Add kernel command line option to disable radix GTSE (diff) | |
download | linux-5e66a0cb5fbdc76f9ad86a1e8f43256dbad29ef7.tar.xz linux-5e66a0cb5fbdc76f9ad86a1e8f43256dbad29ef7.zip |
powerpc: Use fallthrough pseudo-keyword
Replace the existing /* fall through */ comments and its variants with
the new pseudo-keyword macro fallthrough[1]. Also, remove unnecessary
fall-through markings when it is the case.
[1] https://www.kernel.org/doc/html/v5.7/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200727224201.GA10133@embeddedor
Diffstat (limited to 'arch/powerpc/xmon')
-rw-r--r-- | arch/powerpc/xmon/xmon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/xmon/xmon.c b/arch/powerpc/xmon/xmon.c index 4923347b884b..df7bca00f5ec 100644 --- a/arch/powerpc/xmon/xmon.c +++ b/arch/powerpc/xmon/xmon.c @@ -4278,7 +4278,7 @@ static int do_spu_cmd(void) subcmd = inchar(); if (isxdigit(subcmd) || subcmd == '\n') termch = subcmd; - /* fall through */ + fallthrough; case 'f': scanhex(&num); if (num >= XMON_NUM_SPUS || !spu_info[num].spu) { |