Whamcloud - gitweb
LU-12904 build: Support for gcc -Wimplicit-fallthrough 77/36577/2
authorShaun Tancheff <stancheff@cray.com>
Fri, 25 Oct 2019 13:13:26 +0000 (08:13 -0500)
committerOleg Drokin <green@whamcloud.com>
Fri, 6 Dec 2019 01:12:19 +0000 (01:12 +0000)
commit8167e3ad64276676f07d1ba7b9473c2ce74b64e3
tree7a14bb58c5210002de17d7ef18192f365376912f
parentc4daf833ffc5203ce22b67bebdd9fce4eae5baac
LU-12904 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-8042
Signed-off-by: Shaun Tancheff <stancheff@cray.com>
Change-Id: I740062e60e1d19b967ec6b91970cdd3ab03cbab6
Reviewed-on: https://review.whamcloud.com/36577
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Neil Brown <neilb@suse.de>
Reviewed-by: Petros Koutoupis <pkoutoupis@cray.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/mdt/mdt_handler.c
lustre/osd-zfs/osd_object.c