Skip to content

Commit a599761

Browse files
jdelvaremartinkpetersen
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/20250731133311.52034cc4@endymion Reviewed-by: Justin Tee <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
1 parent 034d319 commit a599761

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/scsi/lpfc/lpfc_vport.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ lpfc_vport_delete(struct fc_vport *fc_vport)
666666
* Take early refcount for outstanding I/O requests we schedule during
667667
* delete processing for unreg_vpi. Always keep this before
668668
* scsi_remove_host() as we can no longer obtain a reference through
669-
* scsi_host_get() after scsi_host_remove as shost is set to SHOST_DEL.
669+
* scsi_host_get() after scsi_remove_host as shost is set to SHOST_DEL.
670670
*/
671671
if (!scsi_host_get(shost))
672672
return VPORT_INVAL;

0 commit comments

Comments
 (0)