]> git.ipfire.org Git - thirdparty/linux.git/commit
scsi: message: fusion: Correct definitions for mptscsih_dev_reset()
authorHannes Reinecke <hare@suse.de>
Mon, 2 Oct 2023 15:43:12 +0000 (17:43 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 13 Oct 2023 18:23:14 +0000 (14:23 -0400)
commite6629081fb125d6a40b430450099735b35309a82
tree715429158854af32c8e8f004d5ed9160c0c7b3fe
parentd9987d4b9671541273014adefec137c1fc832168
scsi: message: fusion: Correct definitions for mptscsih_dev_reset()

mptscsih_dev_reset() is _not_ a device reset, but rather a target
reset. Nevertheless it's being used for either purpose.  This patch adds a
correct implementation for mptscsih_dev_reset(), and renames the original
function to mptscsih_target_reset().

Signed-off-by: Hannes Reinecke <hare@suse.de>
Link: https://lore.kernel.org/r/20231002154328.43718-3-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/mptscsih.c
drivers/message/fusion/mptscsih.h