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

Jean Delvare posted 1 patch 2 months ago
drivers/scsi/lpfc/lpfc_vport.c |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] scsi: lpfc: Fix wrong function reference in a comment
Posted by Jean Delvare 2 months ago
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
Re: [PATCH] scsi: lpfc: Fix wrong function reference in a comment
Posted by Martin K. Petersen 2 months ago
Jean,

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

Applied to 6.17/scsi-staging, thanks!

-- 
Martin K. Petersen
Re: [PATCH] scsi: lpfc: Fix wrong function reference in a comment
Posted by Martin K. Petersen 1 month, 3 weeks ago
On Thu, 31 Jul 2025 13:33:11 +0200, Jean Delvare wrote:

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

Applied to 6.17/scsi-fixes, thanks!

[1/1] scsi: lpfc: Fix wrong function reference in a comment
      https://git.kernel.org/mkp/scsi/c/a59976116a01

-- 
Martin K. Petersen	Oracle Linux Engineering
Re: [PATCH] scsi: lpfc: Fix wrong function reference in a comment
Posted by Justin Tee 2 months ago
Reviewed-by: Justin Tee <justin.tee@broadcom.com>

Regards,
Justin