scsi: message: fusion: Open-code mptfc_block_error_handler() for bus reset
authorHannes Reinecke <hare@suse.de>
Mon, 2 Oct 2023 15:43:13 +0000 (17:43 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 13 Oct 2023 18:23:14 +0000 (14:23 -0400)
commit17865dc2eccca0177433eb52c06befdc82b6a286
treefaa68a2d98aea894c4d7809d712113f2526b46ca
parente6629081fb125d6a40b430450099735b35309a82
scsi: message: fusion: Open-code mptfc_block_error_handler() for bus reset

When calling bus_reset we have potentially several ports to be reset, so
this patch open-codes the existing mptfc_block_error_handler() to wait for
all ports attached to this bus.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Link: https://lore.kernel.org/r/20231002154328.43718-4-hare@suse.de
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/message/fusion/mptfc.c