From: Andrew Vasquez Date: Fri, 15 Oct 2010 18:27:45 +0000 (-0700) Subject: [SCSI] qla2xxx: Initialize the vport_slock spinlock. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=339aa70ecb3d0ef733f4d0393e2b5f6aea617839;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git [SCSI] qla2xxx: Initialize the vport_slock spinlock. Commit feafb7b1714cf599a6d0fed45801ab3f66046cbd neglected to initialize the spinlock. Signed-off-by: Andrew Vasquez Signed-off-by: Madhuranath Iyengar Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index 2d3273bc48ee..941b4a66fc2b 100644 --- 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);