Gustavo A. R. Silva 5937e00017 xfs: Fix multiple fall-through warnings for Clang
In preparation to enable -Wimplicit-fallthrough for Clang, fix
the following warnings by replacing /* fallthrough */ comments,
and its variants, with the new pseudo-keyword macro fallthrough:

fs/xfs/libxfs/xfs_attr.c:487:2: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
fs/xfs/libxfs/xfs_attr.c:500:2: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
fs/xfs/libxfs/xfs_attr.c:532:2: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
fs/xfs/libxfs/xfs_attr.c:594:2: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
fs/xfs/libxfs/xfs_attr.c:607:2: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
fs/xfs/libxfs/xfs_attr.c:1410:2: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
fs/xfs/libxfs/xfs_attr.c:1445:2: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
fs/xfs/libxfs/xfs_attr.c:1473:2: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]

Notice that Clang doesn't recognize /* fallthrough */ comments as
implicit fall-through markings, so in order to globally enable
-Wimplicit-fallthrough for Clang, these comments need to be
replaced with fallthrough; in the whole codebase.

Link: https://github.com/KSPP/linux/issues/115
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
2021-07-12 00:25:09 -05:00
..
2021-07-02 14:30:27 -07:00
2020-09-06 18:05:51 -07:00
2020-09-15 20:52:41 -07:00
2021-01-24 14:43:46 +01:00
2021-01-24 14:27:20 +01:00
2021-06-29 10:53:48 -07:00
2019-10-28 08:37:54 -07:00
2021-06-21 10:05:51 -07:00
2021-07-02 14:30:27 -07:00
2021-06-21 10:05:46 -07:00
2021-04-15 09:35:51 -07:00
2021-07-02 14:30:27 -07:00
2021-06-02 10:48:24 +10:00
2021-07-02 14:30:27 -07:00
2021-06-02 10:48:24 +10:00
2021-04-12 15:04:29 +02:00
2021-04-12 15:04:29 +02:00
2021-07-02 14:30:27 -07:00
2021-04-12 15:04:29 +02:00
2021-01-24 14:43:46 +01:00
2021-01-24 14:43:46 +01:00
2021-06-21 10:05:51 -07:00
2021-07-02 14:30:27 -07:00
2021-06-02 10:48:24 +10:00
2020-12-16 16:07:34 -08:00
2021-06-21 10:05:46 -07:00
2021-06-21 10:05:46 -07:00
2021-06-02 10:48:24 +10:00
2021-01-24 14:43:46 +01:00