mirror of https://gitee.com/openkylin/linux.git
scsi: qla2xxx: Modify fall-through annotations
This patch avoids that the compiler complains about missing fall-through annotations when building with W=1. Cc: Himanshu Madhani <himanshu.madhani@cavium.com> Signed-off-by: Bart Van Assche <bvanassche@acm.org> Acked-by: Himanshu Madhani <himanshu.madhani@cavium.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
09968e5049
commit
50435d4211
|
@ -680,7 +680,7 @@ static void qla24xx_handle_gnl_done_event(scsi_qla_host_t *vha,
|
||||||
fcport);
|
fcport);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
/* drop through */
|
/* fall through */
|
||||||
default:
|
default:
|
||||||
if (fcport_is_smaller(fcport)) {
|
if (fcport_is_smaller(fcport)) {
|
||||||
/* local adapter is bigger */
|
/* local adapter is bigger */
|
||||||
|
|
|
@ -4540,7 +4540,7 @@ static int qlt_issue_task_mgmt(struct fc_port *sess, u64 lun,
|
||||||
case QLA_TGT_CLEAR_TS:
|
case QLA_TGT_CLEAR_TS:
|
||||||
case QLA_TGT_ABORT_TS:
|
case QLA_TGT_ABORT_TS:
|
||||||
abort_cmds_for_lun(vha, lun, a->u.isp24.fcp_hdr.s_id);
|
abort_cmds_for_lun(vha, lun, a->u.isp24.fcp_hdr.s_id);
|
||||||
/* drop through */
|
/* fall through */
|
||||||
case QLA_TGT_CLEAR_ACA:
|
case QLA_TGT_CLEAR_ACA:
|
||||||
h = qlt_find_qphint(vha, mcmd->unpacked_lun);
|
h = qlt_find_qphint(vha, mcmd->unpacked_lun);
|
||||||
mcmd->qpair = h->qpair;
|
mcmd->qpair = h->qpair;
|
||||||
|
|
Loading…
Reference in New Issue