Whamcloud - gitweb
LU-12635 build: Support for gcc -Wimplicit-fallthrough 08/35708/4
authorShaun Tancheff <stancheff@cray.com>
Thu, 15 Aug 2019 18:50:01 +0000 (13:50 -0500)
committerOleg Drokin <green@whamcloud.com>
Tue, 3 Sep 2019 05:11:15 +0000 (05:11 +0000)
commitf843facff59226d3788d855d1d6948523ab8d944
tree915b248852f420b2694870ecffa21f67ee8f18eb
parentfb18c05c0f5ee50bbd782334744028c912658c70
LU-12635 build: Support for gcc -Wimplicit-fallthrough

Linux 5.3 enables -Wimplicit-fallthrough
Add decorators for implicit-fallthrough compiler checks.

Test-Parameters: trivial
Cray-bug-id: LUS-7690
Signed-off-by: Shaun Tancheff <stancheff@cray.com>
Change-Id: I5bccb2cfd6b5900ff7f0e21b5546eec9ffa83c19
Reviewed-on: https://review.whamcloud.com/35708
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Petros Koutoupis <pkoutoupis@cray.com>
14 files changed:
lnet/klnds/socklnd/socklnd.c
lnet/lnet/lib-move.c
lustre/ldlm/ldlm_request.c
lustre/llite/file.c
lustre/llite/namei.c
lustre/mdt/mdt_handler.c
lustre/mgs/mgs_barrier.c
lustre/mgs/mgs_llog.c
lustre/obdclass/lprocfs_status.c
lustre/obdecho/echo_client.c
lustre/osc/osc_cache.c
lustre/ptlrpc/gss/gss_keyring.c
lustre/ptlrpc/pack_generic.c
lustre/quota/qmt_handler.c