Skip to contentSkip to conversation

etherdevice.h: fix kernel-doc typo

PATCH Applied Randy Dunlap 2 participants 2 messages Aug 9, 2010 – Aug 10, 2010

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

PATCH 1/3 etherdevice.h: fix kernel-doc typo

From: Randy Dunlap <[email protected]>

Fix etherdevice.h parameter name typo in kernel-doc:

Warning(include/linux/etherdevice.h:138): No description found for parameter 'hwaddr' Warning(include/linux/etherdevice.h:138): Excess function parameter 'addr' description in 'dev_hw_addr_random'

---
 include/linux/etherdevice.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/etherdevice.h +1 -1
@@ -129,7 +129,7 @@ static inline void random_ether_addr(u8 
 /**
  * dev_hw_addr_random - Create random MAC and set device flag
  * @dev: pointer to net_device structure
- * @addr: Pointer to a six-byte array containing the Ethernet address
+ * @hwaddr: Pointer to a six-byte array containing the Ethernet address
  *
  * Generate random MAC to be used by a device and set addr_assign_type
  * so the state can be read by sysfs and be used by udev.
maintainer Applied
#1 lore raw

From: Randy Dunlap <[email protected]>
Date: Mon, 9 Aug 2010 16:40:03 -0700

Quoted 8 lines

From: Randy Dunlap <[email protected]>

Fix etherdevice.h parameter name typo in kernel-doc:

Warning(include/linux/etherdevice.h:138): No description found for parameter 'hwaddr' Warning(include/linux/etherdevice.h:138): Excess function parameter 'addr' description in 'dev_hw_addr_random'

Applied.