Commit 01073ac1 authored by Linus Torvalds's avatar Linus Torvalds

Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi

Pull SCSI fix from James Bottomley:
 "One minor fix in the error leg of the qla2xxx driver (it oopses the
  system if we get an error trying to start the internal kernel thread).

  The fix is minor because the problem isn't often encountered in the
  field (although it can be induced by inserting the module in a low
  memory environment)"

* tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
  scsi: qla2xxx: Fix oops in qla2x00_probe_one error path
parents 866ba84e e2532b4a
...@@ -3212,6 +3212,7 @@ qla2x00_probe_one(struct pci_dev *pdev, const struct pci_device_id *id) ...@@ -3212,6 +3212,7 @@ qla2x00_probe_one(struct pci_dev *pdev, const struct pci_device_id *id)
ql_log(ql_log_fatal, base_vha, 0x00ed, ql_log(ql_log_fatal, base_vha, 0x00ed,
"Failed to start DPC thread.\n"); "Failed to start DPC thread.\n");
ret = PTR_ERR(ha->dpc_thread); ret = PTR_ERR(ha->dpc_thread);
ha->dpc_thread = NULL;
goto probe_failed; goto probe_failed;
} }
ql_dbg(ql_dbg_init, base_vha, 0x00ee, ql_dbg(ql_dbg_init, base_vha, 0x00ee,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment