]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
scsi: lpfc: Fix wrong function reference in a comment
authorJean Delvare <jdelvare@suse.de>
Thu, 31 Jul 2025 11:33:11 +0000 (13:33 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 6 Aug 2025 01:57:13 +0000 (21:57 -0400)
Function scsi_host_remove() doesn't exist, the actual function name is
scsi_remove_host().

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Link: https://lore.kernel.org/r/20250731133311.52034cc4@endymion
Reviewed-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_vport.c

index 2797aa75a689e84c0914fb1dfa7fda25d109857f..aff6c9d5e7c2fc081744bf3ed0f0d789fc9f5028 100644 (file)
@@ -666,7 +666,7 @@ lpfc_vport_delete(struct fc_vport *fc_vport)
         * 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;