Whamcloud - gitweb
LU-15220 utils: use 'fallthrough' pseudo keyword for switch 70/46270/4
authorJian Yu <yujian@whamcloud.com>
Sun, 23 Jan 2022 02:28:56 +0000 (18:28 -0800)
committerOleg Drokin <green@whamcloud.com>
Wed, 26 Jan 2022 05:17:32 +0000 (05:17 +0000)
commite631cd2395564833e9b6b27c64863d624ad0b7df
treedc2845c47e6a2bd66b8c8cc5a7aeb8ba46dd3281
parent5549b1b9e032c6eae63c9bde7104769697b93a0f
LU-15220 utils: use 'fallthrough' pseudo keyword for switch

'/* fallthrough */' hits implicit-fallthrough error with GCC 11.

This patch replaces the existing '/* fallthrough */' comments and
its variants with the 'fallthrough' pseudo keyword, which was added
by Linux kernel commit v5.4-rc2-141-g294f69e662d1.

Test-Parameters: trivial
Change-Id: Icace4c9953950f86d3c48068d8c6bba7dd1160a7
Signed-off-by: Jian Yu <yujian@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/46270
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Peter Jones <pjones@whamcloud.com>
lustre/include/lustre/lustreapi.h
lustre/utils/gss/gss_util.h
lustre/utils/gss/svcgssd_proc.c
lustre/utils/lfs.c
lustre/utils/lustre_rsync.c
lustre/utils/obd.c