Whamcloud - gitweb
LU-15220 utils: use 'fallthrough' pseudo keyword for switch 70/46270/3
authorJian Yu <yujian@whamcloud.com>
Sun, 23 Jan 2022 02:28:56 +0000 (18:28 -0800)
committerJian Yu <yujian@whamcloud.com>
Sun, 23 Jan 2022 02:28:56 +0000 (18:28 -0800)
commit6cae135625159733c0fc1b02ad0cd3ee25ff4d2b
treef9e2a8dbdb84f571eea6a550887e0c772ae069fd
parentf8747a85d29d9346801b017df3b608f9eefdef66
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>
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