scsi: mpt3sas: Introduce mpt3sas_get_st_from_smid()
authorHannes Reinecke <hare@suse.de>
Thu, 4 Jan 2018 12:57:05 +0000 (04:57 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 11 Jan 2018 04:25:01 +0000 (23:25 -0500)
commit12e7c6782bc58128392b768fc2a87b230414a2a5
treecb79aa062a3c228888e4aa3742aef2e7311ee3c9
parent02a386df3678275b01eec71fee39735c379e4a2a
scsi: mpt3sas: Introduce mpt3sas_get_st_from_smid()

Abstract accesses to the scsi_lookup array by introducing
mpt3sas_get_st_from_smid().

Signed-off-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Suganath Prabu S <suganath-prabu.subramani@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/mpt3sas/mpt3sas_base.c
drivers/scsi/mpt3sas/mpt3sas_base.h
drivers/scsi/mpt3sas/mpt3sas_scsih.c
drivers/scsi/mpt3sas/mpt3sas_warpdrive.c