From a5e4bb98bf0210f571480b8990143907af32d541 Mon Sep 17 00:00:00 2001 From: Joseph Wong Date: Fri, 20 Feb 2026 00:06:23 -0800 Subject: [PATCH] [bnxt] Fix typo in function declaration 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 --- src/drivers/net/bnxt/bnxt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/net/bnxt/bnxt.c b/src/drivers/net/bnxt/bnxt.c index 5c1429f67..54ed7b00d 100644 --- a/src/drivers/net/bnxt/bnxt.c +++ b/src/drivers/net/bnxt/bnxt.c @@ -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 );