]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9a034cc01f7bd093d0d16b3af8f33c7c99e5dcc3
treecb79aa062a3c228888e4aa3742aef2e7311ee3c9
parent2848773c1e7561ad9ebd903d480d06d449e7c707
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