Skip to content

Commit 981694e

Browse files
committed
Update
patches.drivers/scsi-qla2xxx-Initialize-Work-element-before-requesti.patch (bsc#1043726,FATE#324770). suse-commit: 25b1a598ed64af58b9a0c8112f6a3528ba55647d
1 parent bb479e4 commit 981694e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/scsi/qla2xxx/qla_os.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3070,6 +3070,8 @@ qla2x00_probe_one(struct pci_dev *pdev, const struct pci_device_id *id)
30703070
host->max_cmd_len, host->max_channel, host->max_lun,
30713071
host->transportt, sht->vendor_id);
30723072

3073+
INIT_WORK(&base_vha->iocb_work, qla2x00_iocb_work_fn);
3074+
30733075
/* Set up the irqs */
30743076
ret = qla2x00_request_irqs(ha, rsp);
30753077
if (ret)
@@ -3192,8 +3194,6 @@ qla2x00_probe_one(struct pci_dev *pdev, const struct pci_device_id *id)
31923194
host->can_queue, base_vha->req,
31933195
base_vha->mgmt_svr_loop_id, host->sg_tablesize);
31943196

3195-
INIT_WORK(&base_vha->iocb_work, qla2x00_iocb_work_fn);
3196-
31973197
if (ha->mqenable) {
31983198
bool mq = false;
31993199
bool startit = false;

0 commit comments

Comments
 (0)