diff options
author | Saurav Kashyap <saurav.kashyap@qlogic.com> | 2011-08-16 22:31:48 +0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-08-29 11:14:56 +0400 |
commit | 54883291ffdcffbe5c077ede7ec1cf8e5d5e22b6 (patch) | |
tree | d93dcad4d7d03c61ef946b7d3dea1d6d05ea8e7f /drivers/scsi/qla2xxx | |
parent | 86e45bf66fd871bbc69a03c4f9f76ac57e72a2aa (diff) | |
download | linux-54883291ffdcffbe5c077ede7ec1cf8e5d5e22b6.tar.xz |
[SCSI] qla2xxx: check for marker IOCB during response queue processing.
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/qla2xxx')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_isr.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c index 646fc5263d50..156530fefead 100644 --- a/drivers/scsi/qla2xxx/qla_isr.c +++ b/drivers/scsi/qla2xxx/qla_isr.c @@ -2060,6 +2060,11 @@ void qla24xx_process_response_queue(struct scsi_qla_host *vha, case ELS_IOCB_TYPE: qla24xx_els_ct_entry(vha, rsp->req, pkt, ELS_IOCB_TYPE); break; + case MARKER_TYPE: + /* Do nothing in this case, this check is to prevent it + * from falling into default case + */ + break; default: /* Type Not Supported. */ ql_dbg(ql_dbg_async, vha, 0x5042, |