Skip to contentSkip to conversation

staging: octeon: Fix kernel-doc function description

PATCH New Cristina Moraru 1 participant 1 message Oct 6, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: octeon: Fix kernel-doc function description

Fix kernel-doc 'Excess function parameter' by moving the description to the correct location. Also corrected parameter description

---
 drivers/staging/octeon/ethernet.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
drivers/staging/octeon/ethernet.c +7 -7
index 7274fda..a63488e 100644
@@ -364,13 +364,6 @@ static void cvm_oct_common_set_multicast_list(struct net_device *dev)
 	}
 }
 
-/**
- * cvm_oct_common_set_mac_address - set the hardware MAC address for a device
- * @dev:    The device in question.
- * @addr:   Address structure to change it too.
-
- * Returns Zero on success
- */
 static int cvm_oct_set_mac_filter(struct net_device *dev)
 {
 	struct octeon_ethernet *priv = netdev_priv(dev);
@@ -413,6 +406,13 @@ static int cvm_oct_set_mac_filter(struct net_device *dev)
 	return 0;
 }
 
+/**
+ * cvm_oct_common_set_mac_address - set the hardware MAC address for a device
+ * @dev:    The device in question.
+ * @addr:   Socket address.
+ *
+ * Returns Zero on success
+ */
 static int cvm_oct_common_set_mac_address(struct net_device *dev, void *addr)
 {
 	int r = eth_mac_addr(dev, addr);
Signature · 1 line
1.9.1