]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
scsi: bfa: Update outdated comment
authorJulia Lawall <Julia.Lawall@inria.fr>
Wed, 31 Dec 2025 16:50:27 +0000 (17:50 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sun, 4 Jan 2026 20:28:08 +0000 (15:28 -0500)
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>
Link: https://patch.msgid.link/20251231165027.142443-1-Julia.Lawall@inria.fr
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/bfa/bfa_fcs.c

index e52ce9b01f49a18573bcfa61b3bd7d007bcc643b..9b57312f43f50b8fbbbf9af3c0ec0478234c78e0 100644 (file)
@@ -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.
  */