Skip to contentSkip to conversation

igc: Fix the parameter description for igc_alloc_rx_buffers

PATCH New Sasha Neftin 2 participants 2 messages Nov 11, 2019 – Nov 21, 2019

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

PATCH 1/1 igc: Fix the parameter description for igc_alloc_rx_buffers

The function description for igc_alloc_rx_buffers has not reflected the function meaning. Add meaningful description.

---
 drivers/net/ethernet/intel/igc/igc_main.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/net/ethernet/intel/igc/igc_main.c +2 -1
index ac420a9b4d2b..833770fd16d2 100644
@@ -1566,7 +1566,8 @@ static void igc_put_rx_buffer(struct igc_ring *rx_ring,
 
 /**
  * igc_alloc_rx_buffers - Replace used receive buffers; packet split
- * @adapter: address of board private structure
+ * @rx_ring: rx descriptor ring
+ * @cleaned_count: number of buffers to clean
  */
 static void igc_alloc_rx_buffers(struct igc_ring *rx_ring, u16 cleaned_count)
 {
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 igc: Fix the parameter description for igc_alloc_rx_buffers

Quoted 7 lines

From: Intel-wired-lan <[email protected]> On Behalf Of Sasha Neftin
Sent: Sunday, November 10, 2019 11:04 PM
To: intel-wired-lan at lists.osuosl.org
Subject: [Intel-wired-lan] [PATCH v1] igc: Fix the parameter description for igc_alloc_rx_buffers

Quoted 8 lines

The function description for igc_alloc_rx_buffers has not reflected the function meaning. Add meaningful description.

---
 drivers/net/ethernet/intel/igc/igc_main.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)