diff options
| author | Gustavo A. R. Silva <[email protected]> | 2018-07-03 22:20:03 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2018-07-11 02:42:47 +0000 |
| commit | fc21ae8927f391b6e3944f82e417355da5d06a83 (patch) | |
| tree | 72925a7c33e67d83c75596496a8aa74e3507ea7a /drivers/message/fusion/mptsas.c | |
| parent | scsi: target: sbitmap: add seq_file forward declaration (diff) | |
| download | kernel-fc21ae8927f391b6e3944f82e417355da5d06a83.tar.gz kernel-fc21ae8927f391b6e3944f82e417355da5d06a83.zip | |
scsi: mptfusion: mark expected switch fall-throughs
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where
we are expecting to fall through.
Warning level 2 was used: -Wimplicit-fallthrough=2
Signed-off-by: Gustavo A. R. Silva <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/message/fusion/mptsas.c')
| -rw-r--r-- | drivers/message/fusion/mptsas.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/message/fusion/mptsas.c b/drivers/message/fusion/mptsas.c index 76a66da33996..b8cf2658649e 100644 --- a/drivers/message/fusion/mptsas.c +++ b/drivers/message/fusion/mptsas.c @@ -4327,6 +4327,7 @@ mptsas_hotplug_work(MPT_ADAPTER *ioc, struct fw_event_work *fw_event, } } mpt_findImVolumes(ioc); + /* fall through */ case MPTSAS_ADD_DEVICE: memset(&sas_device, 0, sizeof(struct mptsas_devinfo)); |
