Skip to contentSkip to conversation

igc: Fix prototype warning

PATCH New Sasha Neftin 2 participants 2 messages Mar 7, 2021 – Mar 9, 2021

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

PATCH 1/1 igc: Fix prototype warning

Correct report warnings in igc_i225.c

---
 drivers/net/ethernet/intel/igc/igc_i225.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/intel/igc/igc_i225.c +1 -1
index 7ec04e48860c..cc83bb5c15e8 100644
@@ -6,7 +6,7 @@
 #include "igc_hw.h"
 
 /**
- * igc_get_hw_semaphore_i225 - Acquire hardware semaphore
+ * igc_acquire_nvm_i225 - Acquire exclusive access to EEPROM
  * @hw: pointer to the HW structure
  *
  * Acquire the necessary semaphores for exclusive access to the EEPROM.
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/1 igc: Fix prototype warning

Dear Sasha,

Thank you for the patch.

Am 07.03.21 um 09:44 schrieb Sasha Neftin:

Quoted 1 line

Correct report warnings in igc_i225.c

It?d be great, if you added somewhere it?s about the comment/function documentation (DoxyGen). Maybe as summary:

Quoted 12 lines

igc: Fix function name in igc_acquire_nvm_i225() Doxygen comment

---
  drivers/net/ethernet/intel/igc/igc_i225.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/intel/igc/igc_i225.c +0 -0
index 7ec04e48860c..cc83bb5c15e8 100644

drivers/net/ethernet/intel/igc/igc_i225.c line 12

Quoted 8 lines
drivers/net/ethernet/intel/igc/igc_i225.c +1 -1
@@ -6,7 +6,7 @@
  #include "igc_hw.h"
 
  /**
- * igc_get_hw_semaphore_i225 - Acquire hardware semaphore
+ * igc_acquire_nvm_i225 - Acquire exclusive access to EEPROM
   * @hw: pointer to the HW structure
   *
   * Acquire the necessary semaphores for exclusive access to the EEPROM.

Kind regards,

Paul