]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: lpfc: Use fc_block_rport()
authorHannes Reinecke <hare@suse.de>
Tue, 1 Mar 2022 14:37:16 +0000 (15:37 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 2 Mar 2022 04:56:29 +0000 (23:56 -0500)
commit350cf854e5cbd0917169689388be1927239171b8
tree707caa7ee37c774f85477ee31abb100251912f5e
parentd0876b07d71359b63a24728ae3dbf84bebc141f0
scsi: lpfc: Use fc_block_rport()

Use fc_block_rport() instead of fc_block_scsi_eh() as the SCSI command will
be removed as argument for SCSI EH functions.

Link: https://lore.kernel.org/r/20220301143718.40913-4-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