From: Jean Delvare <jdelvare@suse.de>
To: linux-scsi@vger.kernel.org
Cc: James Smart <james.smart@broadcom.com>,
Dick Kennedy <dick.kennedy@broadcom.com>,
"James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>,
"Martin K. Petersen" <martin.petersen@oracle.com>,
LKML <linux-kernel@vger.kernel.org>
Subject: [PATCH] scsi: lpfc: Fix wrong function reference in a comment
Date: Thu, 31 Jul 2025 13:33:11 +0200 [thread overview]
Message-ID: <20250731133311.52034cc4@endymion> (raw)
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
next reply other threads:[~2025-07-31 11:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-31 11:33 Jean Delvare [this message]
2025-07-31 16:51 ` [PATCH] scsi: lpfc: Fix wrong function reference in a comment Justin Tee
2025-08-06 1:57 ` Martin K. Petersen
2025-08-13 2:26 ` Martin K. Petersen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250731133311.52034cc4@endymion \
--to=jdelvare@suse.de \
--cc=James.Bottomley@HansenPartnership.com \
--cc=dick.kennedy@broadcom.com \
--cc=james.smart@broadcom.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox