Commit 7ed24e8da75615418cbf3417e421053e53a5f5b3

Authored by Randy Dunlap
Committed by David S. Miller
1 parent 5d337d6f64

etherdevice.h: fix kernel-doc typo

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>
Signed-off-by: David S. Miller <davem@davemloft.net>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

include/linux/etherdevice.h
... ... @@ -129,7 +129,7 @@
129 129 /**
130 130 * dev_hw_addr_random - Create random MAC and set device flag
131 131 * @dev: pointer to net_device structure
132   - * @addr: Pointer to a six-byte array containing the Ethernet address
  132 + * @hwaddr: Pointer to a six-byte array containing the Ethernet address
133 133 *
134 134 * Generate random MAC to be used by a device and set addr_assign_type
135 135 * so the state can be read by sysfs and be used by udev.