OSDN Git Service

scsi: lpfc: Rework lpfc_vmid_get_appid() to be protocol independent
authorJames Smart <jsmart2021@gmail.com>
Thu, 19 May 2022 12:31:09 +0000 (05:31 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 20 May 2022 00:24:57 +0000 (20:24 -0400)
commit348efeca74878dc6af688486267b862460a96040
tree38e00f3de82c09abe6611e26a9f37a3621cc7c2d
parented913cf4a5334427f40d1a09450368b2af6edd89
scsi: lpfc: Rework lpfc_vmid_get_appid() to be protocol independent

Rework lpfc_vmid_get_appid() arguments to remove scsi_cmnd dependency. The
function is now callable by the NVMe I/O path. Fix up SCSI call path to
accommodate the arg change.

Link: https://lore.kernel.org/r/20220519123110.17361-4-jsmart2021@gmail.com
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Co-developed-by: Gaurav Srivastava <gaurav.srivastava@broadcom.com>
Signed-off-by: Gaurav Srivastava <gaurav.srivastava@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_crtn.h
drivers/scsi/lpfc/lpfc_scsi.c