Whamcloud - gitweb
LU-15220 utils: use 'fallthrough' pseudo keyword for switch
authorJian Yu <yujian@whamcloud.com>
Sun, 23 Jan 2022 10:25:29 +0000 (02:25 -0800)
committerAndreas Dilger <adilger@whamcloud.com>
Mon, 24 Jan 2022 05:42:02 +0000 (05:42 +0000)
commit6f24c6309c7e3f700c99d5251b15339213453e7e
treef9728582bbfaff097338b12cc4d5480ef9f7d1d6
parent986d62632a9c381ae9220b18e5401e6990bcbc64
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.

Lustre-change: https://review.whamcloud.com/46270
Lustre-commit: TBD (from 6cae135625159733c0fc1b02ad0cd3ee25ff4d2b)

Test-Parameters: trivial
Change-Id: Icace4c9953950f86d3c48068d8c6bba7dd1160a7
Signed-off-by: Jian Yu <yujian@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/46276
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@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