[PATCH v2 06/24] net: brocade: bna: Fix wrong function name in comments

From: Yang Shen
Date: Mon May 17 2021 - 03:59:08 EST


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

drivers/net/ethernet/brocade/bna/bfa_cee.c:91: warning: expecting prototype for bfa_cee_get_attr_isr(). Prototype was for bfa_cee_get_stats_isr() instead

Cc: Rasesh Mody <rmody@xxxxxxxxxxx>
Cc: Sudarsana Kalluru <skalluru@xxxxxxxxxxx>
Cc: GR-Linux-NIC-Dev@xxxxxxxxxxx
Signed-off-by: Yang Shen <shenyang39@xxxxxxxxxx>
---
drivers/net/ethernet/brocade/bna/bfa_cee.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/brocade/bna/bfa_cee.c b/drivers/net/ethernet/brocade/bna/bfa_cee.c
index 06f221c44802..eeb05e31713f 100644
--- a/drivers/net/ethernet/brocade/bna/bfa_cee.c
+++ b/drivers/net/ethernet/brocade/bna/bfa_cee.c
@@ -82,7 +82,7 @@ bfa_cee_get_attr_isr(struct bfa_cee *cee, enum bfa_status status)
}

/**
- * bfa_cee_get_attr_isr - CEE ISR for get-stats responses from f/w
+ * bfa_cee_get_stats_isr - CEE ISR for get-stats responses from f/w
*
* @cee: Pointer to the CEE module
* @status: Return status from the f/w
--
2.17.1