Skip to content

Commit c3c4239

Browse files
kernelslackermartinkpetersen
authored andcommitted
scsi: qla2xxx: Fix apparent cut-n-paste error.
Commit 093df73 ("scsi: qla2xxx: Fix Target mode handling with Multiqueue changes.") introduces two bodies of code that look similar but with s/req/rsp/ in the second instance. But in one case, it looks like this conversion was missed. Signed-off-by: Dave Jones <[email protected]> Reviewed-by: Laurence Oberman <[email protected]> Acked-by: Quinn Tran <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
1 parent c7702b8 commit c3c4239

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/scsi/qla2xxx/qla_os.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ static void qla2x00_free_queues(struct qla_hw_data *ha)
466466
continue;
467467

468468
rsp = ha->rsp_q_map[cnt];
469-
clear_bit(cnt, ha->req_qid_map);
469+
clear_bit(cnt, ha->rsp_qid_map);
470470
ha->rsp_q_map[cnt] = NULL;
471471
spin_unlock_irqrestore(&ha->hardware_lock, flags);
472472
qla2x00_free_rsp_que(ha, rsp);

0 commit comments

Comments
 (0)