scsi: core: Set shost as hctx driver_data
authorKashyap Desai <kashyap.desai@broadcom.com>
Mon, 15 Feb 2021 07:40:48 +0000 (13:10 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 4 Mar 2021 22:37:03 +0000 (17:37 -0500)
commit4309ea74b0c30f00c6a93b94db018ebb416dc14c
treeed674015bfc8c01d64a791afacbb4d5ff6cbb6cc
parent4a0c6f432d153156f8f73078c4e6fa43bd3a1752
scsi: core: Set shost as hctx driver_data

hctx->driver_data is not set for SCSI currently. Set hctx->driver_data =
shost.

Link: https://lore.kernel.org/r/20210215074048.19424-6-kashyap.desai@broadcom.com
Suggested-by: John Garry <john.garry@huawei.com>
Reviewed-by: John Garry <john.garry@huawei.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Kashyap Desai <kashyap.desai@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/scsi_lib.c