diff options
author | Saurav Kashyap <saurav.kashyap@qlogic.com> | 2011-08-16 20:31:48 +0200 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-08-29 09:14:56 +0200 |
commit | 54883291ffdcffbe5c077ede7ec1cf8e5d5e22b6 (patch) | |
tree | d93dcad4d7d03c61ef946b7d3dea1d6d05ea8e7f /drivers/scsi/qla2xxx/qla_isr.c | |
parent | [SCSI] qla2xxx: Enable write permission to some debug related module paramete... (diff) | |
download | linux-54883291ffdcffbe5c077ede7ec1cf8e5d5e22b6.tar.xz linux-54883291ffdcffbe5c077ede7ec1cf8e5d5e22b6.zip |
[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/qla_isr.c')
-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, |