scsi: lpfc: Use rport as argument for lpfc_send_taskmgmt()
authorHannes Reinecke <hare@suse.de>
Tue, 1 Mar 2022 14:37:17 +0000 (15:37 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 2 Mar 2022 04:56:29 +0000 (23:56 -0500)
commit123a3af35d084569c80b53de0e8e631567d0396f
tree5b412789ab74ea4ea4091d9fb750bb09655dbf08
parentbb21fc9911eea92afd476f7e64b327716e042a25
scsi: lpfc: Use rport as argument for lpfc_send_taskmgmt()

Instead of passing in a scsi_cmnd we should be using the rport; we already
have the target and LUN ID as parameters, so there's no need to pass the
scsi_cmnd too.

Link: https://lore.kernel.org/r/20220301143718.40913-5-hare@suse.de
Cc: James Smart <james.smart@broadcom.com>
Reviewed-by: James Smart <jsmart2021@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_scsi.c