[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250731133311.52034cc4@endymion>
Date: Thu, 31 Jul 2025 13:33:11 +0200
From: Jean Delvare <jdelvare@...e.de>
To: linux-scsi@...r.kernel.org
Cc: James Smart <james.smart@...adcom.com>, Dick Kennedy
<dick.kennedy@...adcom.com>, "James E.J. Bottomley"
<James.Bottomley@...senPartnership.com>, "Martin K. Petersen"
<martin.petersen@...cle.com>, LKML <linux-kernel@...r.kernel.org>
Subject: [PATCH] scsi: lpfc: Fix wrong function reference in a comment
Function scsi_host_remove doesn't exist, the actual function name is
scsi_remove_host.
Signed-off-by: Jean Delvare <jdelvare@...e.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
Powered by blists - more mailing lists