projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09d1dc2
)
[SCSI] qla2xxx: Initialize the vport_slock spinlock.
author
Andrew Vasquez
<andrew.vasquez@qlogic.com>
Fri, 15 Oct 2010 18:27:45 +0000
(11:27 -0700)
committer
James Bottomley
<James.Bottomley@suse.de>
Mon, 25 Oct 2010 21:02:57 +0000
(16:02 -0500)
Commit
feafb7b1714cf599a6d0fed45801ab3f66046cbd
neglected to initialize
the spinlock.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/qla2xxx/qla_os.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/qla2xxx/qla_os.c
b/drivers/scsi/qla2xxx/qla_os.c
index 2d3273bc48eefcf2f568ce20931928b7903307c9..941b4a66fc2bb02e69dcbde7a13ddf3b4342c47d 100644
(file)
--- a/
drivers/scsi/qla2xxx/qla_os.c
+++ b/
drivers/scsi/qla2xxx/qla_os.c
@@
-1973,6
+1973,7
@@
qla2x00_probe_one(struct pci_dev *pdev, const struct pci_device_id *id)
ha->bars = bars;
ha->mem_only = mem_only;
spin_lock_init(&ha->hardware_lock);
+ spin_lock_init(&ha->vport_slock);
/* Set ISP-type information. */
qla2x00_set_isp_flags(ha);