scsi: qla2xxx: Suppress gcc 7 fall-through warnings
Avoid that building with gcc 7 and W=1 triggers warnings similar to the following: drivers/scsi/qla2xxx/qla_isr.c:1189:27: warning: this statement may fall through [-Wimplicit-fallthrough=] Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com> Cc: Himanshu Madhani <himanshu.madhani@cavium.com> Cc: Quinn Tran <quinn.tran@cavium.com> Cc: Hannes Reinecke <hare@suse.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
committed by
Martin K. Petersen
parent
f280c77dc9
commit
81881861ae
@@ -177,7 +177,7 @@ qla2x00_chk_ms_status(scsi_qla_host_t *vha, ms_iocb_entry_t *ms_pkt,
|
||||
break;
|
||||
case CS_TIMEOUT:
|
||||
rval = QLA_FUNCTION_TIMEOUT;
|
||||
/* drop through */
|
||||
/* fall through */
|
||||
default:
|
||||
ql_dbg(ql_dbg_disc, vha, 0x2033,
|
||||
"%s failed, completion status (%x) on port_id: "
|
||||
|
||||
Reference in New Issue
Block a user