Commit 40fa9167 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

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

James writes:
  "SCSI fixes on 20181006

   Small fix for an unititialized mutex in the qedi driver."

* tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
  scsi: qedi: Initialize the stats mutex lock
parents cd2093cb 3cc5746e
...@@ -2472,6 +2472,7 @@ static int __qedi_probe(struct pci_dev *pdev, int mode) ...@@ -2472,6 +2472,7 @@ static int __qedi_probe(struct pci_dev *pdev, int mode)
/* start qedi context */ /* start qedi context */
spin_lock_init(&qedi->hba_lock); spin_lock_init(&qedi->hba_lock);
spin_lock_init(&qedi->task_idx_lock); spin_lock_init(&qedi->task_idx_lock);
mutex_init(&qedi->stats_lock);
} }
qedi_ops->ll2->register_cb_ops(qedi->cdev, &qedi_ll2_cb_ops, qedi); qedi_ops->ll2->register_cb_ops(qedi->cdev, &qedi_ll2_cb_ops, qedi);
qedi_ops->ll2->start(qedi->cdev, &params); qedi_ops->ll2->start(qedi->cdev, &params);
......
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