scsi: target: iscsi: cxgbit: add missing spin_lock_init()
authorVarun Prakash <varun@chelsio.com>
Fri, 9 Nov 2018 15:29:46 +0000 (20:59 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Jan 2019 09:00:58 +0000 (10:00 +0100)
commit5e6aefd625f30006fe443ac714d240a6362c6b9a
treef99cf2da02c46150a02e68bd328f405d9fd97065
parentb831528038e3cad0d745c53bcaeedb642f5cbc1f
scsi: target: iscsi: cxgbit: add missing spin_lock_init()

[ Upstream commit 9e6371d3c6913ff1707fb2c0274c9925f7aaef80 ]

Add missing spin_lock_init() for cdev->np_lock.

Signed-off-by: Varun Prakash <varun@chelsio.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/target/iscsi/cxgbit/cxgbit_main.c