]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[bnxt] Fix typo in function declaration 1630/head
authorJoseph Wong <joseph.wong@broadcom.com>
Fri, 20 Feb 2026 08:06:23 +0000 (00:06 -0800)
committerMichael Brown <mcb30@ipxe.org>
Mon, 23 Feb 2026 12:52:55 +0000 (12:52 +0000)
Fix typo in function declaration.  Duplicate declaration of
bnxt_adv_cq_index().  Modified to include function declaration for
bnxt_adv_nq_index().

Signed-off-by: Joseph Wong <joseph.wong@broadcom.com>
src/drivers/net/bnxt/bnxt.c

index 5c1429f679d9d72e0cc3953761d146eeefc1cdbf..54ed7b00db2d02780a09358a5d6ac138212b5a0d 100644 (file)
@@ -21,7 +21,7 @@ FILE_LICENCE ( GPL2_ONLY );
 static void bnxt_service_cq ( struct net_device *dev );
 static void bnxt_tx_complete ( struct net_device *dev, u16 hw_idx );
 static void bnxt_adv_cq_index ( struct bnxt *bp, u16 cnt );
-static void bnxt_adv_cq_index ( struct bnxt *bp, u16 cnt );
+static void bnxt_adv_nq_index ( struct bnxt *bp, u16 cnt );
 static int bnxt_rx_complete ( struct net_device *dev, struct rx_pkt_cmpl *rx );
 void bnxt_link_evt ( struct bnxt *bp, struct hwrm_async_event_cmpl *evt );