Skip to contentSkip to conversation

bnx2x: fix kernel-doc for bnx2x_rss()

PATCH In review Ayush Yaduvanshi 2 participants 2 messages Nov 9 – Nov 12

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bnx2x: fix kernel-doc for bnx2x_rss()

The kernel-doc comment above bnx2x_rss() still refers to bnx2x_config_rss_pf() and documents an @ind_table parameter that is not part of the function prototype.

Update the function name and remove the stale parameter.

---
 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h +1 -2
index 0bc1367fd649..28ce580bd1ff 100644
@@ -95,11 +95,10 @@ u32 bnx2x_send_unload_req(struct bnx2x *bp, int unload_mode);
 void bnx2x_send_unload_done(struct bnx2x *bp, bool keep_link);
 
 /**
- * bnx2x_config_rss_pf - configure RSS parameters in a PF.
+ * bnx2x_rss() - configure RSS parameters.
  *
  * @bp:			driver handle
  * @rss_obj:		RSS object to use
- * @ind_table:		indirection table to configure
  * @config_hash:	re-configure RSS hash keys configuration
  * @enable:		enabled or disabled configuration
  */
Signature · 1 line
2.53.0
maintainer
#1 lore raw
Quoted 5 lines · On Tue, 10 Nov 2026 02:47:19 +0530 Ayush Yaduvanshi wrote:

The kernel-doc comment above bnx2x_rss() still refers to bnx2x_config_rss_pf() and documents an @ind_table parameter that is not part of the function prototype.

Update the function name and remove the stale parameter.

There's a ton of warnings in this file, let's try to fix them all at once or not at all (I really doubt they bother anyone since it's an old dormant driver)