Fixes the following W=1 kernel build warning(s):

 drivers/scsi/lpfc/lpfc_nportdisc.c:345: warning: expecting prototype for 
lpfc_defer_tgt_acc(). Prototype was for lpfc_defer_acc_rsp() instead

Cc: James Smart <[email protected]>
Cc: Dick Kennedy <[email protected]>
Cc: "James E.J. Bottomley" <[email protected]>
Cc: "Martin K. Petersen" <[email protected]>
Cc: [email protected]
Signed-off-by: Lee Jones <[email protected]>
---
 drivers/scsi/lpfc/lpfc_nportdisc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/lpfc/lpfc_nportdisc.c 
b/drivers/scsi/lpfc/lpfc_nportdisc.c
index 135d8e8a42ba2..ffd41cc7c96c6 100644
--- a/drivers/scsi/lpfc/lpfc_nportdisc.c
+++ b/drivers/scsi/lpfc/lpfc_nportdisc.c
@@ -329,7 +329,7 @@ lpfc_defer_pt2pt_acc(struct lpfc_hba *phba, LPFC_MBOXQ_t 
*link_mbox)
 }
 
 /**
- * lpfc_defer_tgt_acc - Progress SLI4 target rcv PLOGI handler
+ * lpfc_defer_acc_rsp - Progress SLI4 target rcv PLOGI handler
  * @phba: Pointer to HBA context object.
  * @pmb: Pointer to mailbox object.
  *
-- 
2.27.0

Reply via email to