[PATCH] scsi: lpfc: Fix wrong function reference in a comment

From: Jean Delvare
Date: Thu Jul 31 2025 - 07:33:38 EST


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

Signed-off-by: Jean Delvare <jdelvare@xxxxxxx>
---
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