scsi: csiostor: fix incorrect dma device in case of vport
authorVarun Prakash <varun@chelsio.com>
Wed, 19 Dec 2018 10:12:50 +0000 (15:42 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Dec 2019 14:37:39 +0000 (15:37 +0100)
commitf0a23cf647fdf3088f879c9520bbcc593477cf06
treeb73ed4f57755cd82ff589b2ff855e2f9beafb93e
parented5ba2cc5bf99f76ec3bcfd9eac3fa3b9c11096c
scsi: csiostor: fix incorrect dma device in case of vport

[ Upstream commit 9934613edcb40b92a216122876cd3b7e76d08390 ]

In case of ->vport_create() call scsi_add_host_with_dma() instead of
scsi_add_host() to pass correct dma device.

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/scsi/csiostor/csio_init.c