]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0d55110d6f1e18beace0617626e0368832c8e326
tree5b412789ab74ea4ea4091d9fb750bb09655dbf08
parent350cf854e5cbd0917169689388be1927239171b8
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