[PATCH] bfa: update outdated comment

Julia Lawall posted 1 patch 1 month, 1 week ago
drivers/scsi/bfa/bfa_fcs.c |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] bfa: update outdated comment
Posted by Julia Lawall 1 month, 1 week ago
The function bfa_lps_is_brcd_fabric() was eliminated, being a one-line
function, in commit f7f73812e950 ("[SCSI] bfa: clean up one line
functions").  Replace the call in the comment by its inlined
counterpart, referring to the parameter of the subsequent function.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>

---
 drivers/scsi/bfa/bfa_fcs.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/bfa/bfa_fcs.c b/drivers/scsi/bfa/bfa_fcs.c
index e52ce9b01f49..9b57312f43f5 100644
--- a/drivers/scsi/bfa/bfa_fcs.c
+++ b/drivers/scsi/bfa/bfa_fcs.c
@@ -1169,7 +1169,7 @@ bfa_fcs_fabric_vport_lookup(struct bfa_fcs_fabric_s *fabric, wwn_t pwwn)
  *         This function should be used only if there is any requirement
 *          to check for FOS version below 6.3.
  *         To check if the attached fabric is a brocade fabric, use
- *         bfa_lps_is_brcd_fabric() which works for FOS versions 6.3
+ *         fabric->lps->brcd_switch which works for FOS versions 6.3
  *         or above only.
  */
Re: [PATCH] bfa: update outdated comment
Posted by Martin K. Petersen 1 month ago
On Wed, 31 Dec 2025 17:50:27 +0100, Julia Lawall wrote:

> The function bfa_lps_is_brcd_fabric() was eliminated, being a one-line
> function, in commit f7f73812e950 ("[SCSI] bfa: clean up one line
> functions").  Replace the call in the comment by its inlined
> counterpart, referring to the parameter of the subsequent function.
> 
> 

Applied to 6.19/scsi-fixes, thanks!

[1/1] bfa: update outdated comment
      https://git.kernel.org/mkp/scsi/c/d0f6cfb49192

-- 
Martin K. Petersen