Message ID | 20100809164003.39c496ee.randy.dunlap@oracle.com |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
From: Randy Dunlap <randy.dunlap@oracle.com> Date: Mon, 9 Aug 2010 16:40:03 -0700 > From: Randy Dunlap <randy.dunlap@oracle.com> > > 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 <randy.dunlap@oracle.com> Applied. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
--- linux-2.6.35-git8.orig/include/linux/etherdevice.h +++ linux-2.6.35-git8/include/linux/etherdevice.h @@ -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.