public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] scsi: lpfc: Fix wrong function reference in a comment
@ 2025-07-31 11:33 Jean Delvare
  2025-07-31 16:51 ` Justin Tee
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jean Delvare @ 2025-07-31 11:33 UTC (permalink / raw)
  To: linux-scsi
  Cc: James Smart, Dick Kennedy, James E.J. Bottomley,
	Martin K. Petersen, LKML

Function scsi_host_remove doesn't exist, the actual function name is
scsi_remove_host.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
---
 drivers/scsi/lpfc/lpfc_vport.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-6.16.orig/drivers/scsi/lpfc/lpfc_vport.c
+++ linux-6.16/drivers/scsi/lpfc/lpfc_vport.c
@@ -666,7 +666,7 @@ lpfc_vport_delete(struct fc_vport *fc_vp
 	 * Take early refcount for outstanding I/O requests we schedule during
 	 * delete processing for unreg_vpi.  Always keep this before
 	 * scsi_remove_host() as we can no longer obtain a reference through
-	 * scsi_host_get() after scsi_host_remove as shost is set to SHOST_DEL.
+	 * scsi_host_get() after scsi_remove_host as shost is set to SHOST_DEL.
 	 */
 	if (!scsi_host_get(shost))
 		return VPORT_INVAL;


-- 
Jean Delvare
SUSE L3 Support

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-08-13  2:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-31 11:33 [PATCH] scsi: lpfc: Fix wrong function reference in a comment Jean Delvare
2025-07-31 16:51 ` Justin Tee
2025-08-06  1:57 ` Martin K. Petersen
2025-08-13  2:26 ` Martin K. Petersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox