staging: octeon: Add kernel-doc for function
PATCH 1/1 staging: octeon: Add kernel-doc for function
Add kernel-doc comment for function cvm_oct_set_mac_filter
--- drivers/staging/octeon/ethernet.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
drivers/staging/octeon/ethernet.c +6 -1
@@ -363,7 +363,12 @@ static void cvm_oct_common_set_multicast_list(struct net_device *dev) gmx_cfg.u64); } } - +/** +* cvm_oct_set_mac_filter - set the MAC filter for a device +* @dev: The device in question. +* +* Returns Zero on success +*/ static int cvm_oct_set_mac_filter (struct net_device *dev) {struct octeon_ethernet *priv =netdev_priv (dev);
Signature · 1 line
1.9.1
Quoted 12 lines · Cristina Moraru
Add kernel-doc comment for function
cvm_oct_set_mac_filterSigned-off-by Cristina Moraru <[email protected]>--- drivers/staging/octeon/ethernet.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)drivers/staging/octeon/ethernet.c +0
-0
drivers/staging/octeon/ethernet.c static void cvm_oct_common_set_multicast_list(struct net_device *dev) · line 370
Quoted 9 lines
drivers/staging/octeon/ethernet.c +5
-1@@ -363,7 +363,12 @@ static void cvm_oct_common_set_multicast_list(struct net_device *dev) gmx_cfg.u64); } } - +/** +* cvm_oct_set_mac_filter - set the MAC filter for a device +* @dev: The device in question. +* +* Returns Zero on success
Is it more common to put 0?
julia
Quoted 14 lines
drivers/staging/octeon/ethernet.c +1
-1+*/ static int cvm_oct_set_mac_filter (struct net_device *dev) {struct octeon_ethernet *priv =netdev_priv (dev); --1.9.1
--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/1443977338-86936-1-git-send-email-cristina.moraru09%40gmail.com.
For more options, visit https://groups.google.com/d/optout.