drivers/scsi/lpfc/lpfc_vport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
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
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
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
© 2016 - 2025 Red Hat, Inc.