Skip to contentSkip to conversation

staging: octeon: Add kernel-doc for function

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

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: octeon: Add kernel-doc for function

Add kernel-doc description for function cvm_oct_set_mac_filter

---
 drivers/staging/octeon/ethernet.c | 6 ++++++
 1 file changed, 6 insertions(+)
drivers/staging/octeon/ethernet.c +6 -0
index 13ee25d..ce116ec 100644
@@ -364,6 +364,12 @@ static void cvm_oct_common_set_multicast_list(struct net_device *dev)
 	}
 }
 
+/**
+ * cvm_oct_set_mac_filter - set the MAC filter for a device
+ * @dev:    The device in question.
+ *
+ * Returns 0 on success or a negative error code.
+ */
 static int cvm_oct_set_mac_filter(struct net_device *dev)
 {
 	struct octeon_ethernet *priv = netdev_priv(dev);
Signature · 1 line
1.9.1