diff options
| author | Steffen Maier <[email protected]> | 2018-11-08 15:44:56 +0100 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2018-11-15 15:01:18 -0500 |
| commit | 3505144e5428e1a75a573dcc37bf865d7d7bf988 (patch) | |
| tree | 635cf5f6f14a501b87364de1b60cb1c0b3b00a05 /include/linux/errqueue.h | |
| parent | 623cd180c10c5bec815a46c4ce73c8c148d2f518 (diff) | |
scsi: zfcp: silence -Wimplicit-fallthrough in zfcp_erp_lun_strategy()
For some reason the already existing substring "fall through" in the
comment is not sufficient for GCC to silence -Wimplicit-fallthrough.
CC [M] drivers/s390/scsi/zfcp_erp.o
drivers/s390/scsi/zfcp_erp.c: In function 'zfcp_erp_lun_strategy':
drivers/s390/scsi/zfcp_erp.c:1065:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (atomic_read(&zfcp_sdev->status) & ZFCP_STATUS_COMMON_OPEN)
^
drivers/s390/scsi/zfcp_erp.c:1068:2: note: here
case ZFCP_ERP_STEP_LUN_CLOSING:
^~~~
Signed-off-by: Steffen Maier <[email protected]>
Reviewed-by: Benjamin Block <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'include/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions