etherdevice.h: fix kernel-doc typo
Subsystems (2)
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'
Signed-off-by Randy Dunlap <[email protected]>
--- 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.
From: Randy Dunlap <[email protected]>
Date: Mon, 9 Aug 2010 16:40:03 -0700
Quoted 8 lines
From: Randy Dunlap <[email protected]>
Fix
etherdevice.hparameter 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'Signed-off-by Randy Dunlap <[email protected]>
Applied.