Skip to contentSkip to conversation

scsi: lpfc: Fix wrong function reference in a comment

PATCH Applied Jean Delvare 3 participants 4 messages Jul 31, 2025 – Aug 13, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scsi: lpfc: Fix wrong function reference in a comment

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

---
 drivers/scsi/lpfc/lpfc_vport.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/lpfc/lpfc_vport.c +1 -1
@@ -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;
Signature · 2 lines
Jean Delvare
SUSE L3 Support
#2 lore raw
In reply to Jean Delvare

Jean,

Quoted 2 lines

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

Applied to 6.17/scsi-staging, thanks!

Signature · 1 line
Martin K. Petersen