aboutsummaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2012-07-10 06:55:09 -0400
committerDavid S. Miller <davem@davemloft.net>2012-07-11 02:13:45 -0400
commit2c53040f018b6c36a46eec75b9b937aaa5f78e6d (patch)
treef77d987c380f78daf40838688a5f49bb4ab065ee /net/core
parenta55b138b1da3d25c04f66f8df03d659dfd46c950 (diff)
net: Fix (nearly-)kernel-doc comments for various functions
Fix incorrect start markers, wrapped summary lines, missing section breaks, incorrect separators, and some name mismatches. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-rw-r--r--net/core/dev.c8
-rw-r--r--net/core/rtnetlink.c2
-rw-r--r--net/core/skbuff.c5
3 files changed, 9 insertions, 6 deletions
diff --git a/net/core/dev.c b/net/core/dev.c
index 9c21548e5b31..5ab6f4b37c0c 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -1691,7 +1691,8 @@ static void dev_queue_xmit_nit(struct sk_buff *skb, struct net_device *dev)
1691 rcu_read_unlock(); 1691 rcu_read_unlock();
1692} 1692}
1693 1693
1694/* netif_setup_tc - Handle tc mappings on real_num_tx_queues change 1694/**
1695 * netif_setup_tc - Handle tc mappings on real_num_tx_queues change
1695 * @dev: Network device 1696 * @dev: Network device
1696 * @txq: number of queues available 1697 * @txq: number of queues available
1697 * 1698 *
@@ -1793,7 +1794,8 @@ int netif_set_real_num_rx_queues(struct net_device *dev, unsigned int rxq)
1793EXPORT_SYMBOL(netif_set_real_num_rx_queues); 1794EXPORT_SYMBOL(netif_set_real_num_rx_queues);
1794#endif 1795#endif
1795 1796
1796/* netif_get_num_default_rss_queues - default number of RSS queues 1797/**
1798 * netif_get_num_default_rss_queues - default number of RSS queues
1797 * 1799 *
1798 * This routine should set an upper limit on the number of RSS queues 1800 * This routine should set an upper limit on the number of RSS queues
1799 * used by default by multiqueue devices. 1801 * used by default by multiqueue devices.
@@ -5670,7 +5672,7 @@ int netdev_refcnt_read(const struct net_device *dev)
5670} 5672}
5671EXPORT_SYMBOL(netdev_refcnt_read); 5673EXPORT_SYMBOL(netdev_refcnt_read);
5672 5674
5673/* 5675/**
5674 * netdev_wait_allrefs - wait until all references are gone. 5676 * netdev_wait_allrefs - wait until all references are gone.
5675 * 5677 *
5676 * This is called when unregistering network devices. 5678 * This is called when unregistering network devices.
diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c
index 64127eee786d..045db8ad87c8 100644
--- a/net/core/rtnetlink.c
+++ b/net/core/rtnetlink.c
@@ -2174,7 +2174,7 @@ skip:
2174} 2174}
2175 2175
2176/** 2176/**
2177 * ndo_dflt_fdb_dump: default netdevice operation to dump an FDB table. 2177 * ndo_dflt_fdb_dump - default netdevice operation to dump an FDB table.
2178 * @nlh: netlink message header 2178 * @nlh: netlink message header
2179 * @dev: netdevice 2179 * @dev: netdevice
2180 * 2180 *
diff --git a/net/core/skbuff.c b/net/core/skbuff.c
index 5a789a807ec3..506f678e9d95 100644
--- a/net/core/skbuff.c
+++ b/net/core/skbuff.c
@@ -713,7 +713,8 @@ struct sk_buff *skb_morph(struct sk_buff *dst, struct sk_buff *src)
713} 713}
714EXPORT_SYMBOL_GPL(skb_morph); 714EXPORT_SYMBOL_GPL(skb_morph);
715 715
716/* skb_copy_ubufs - copy userspace skb frags buffers to kernel 716/**
717 * skb_copy_ubufs - copy userspace skb frags buffers to kernel
717 * @skb: the skb to modify 718 * @skb: the skb to modify
718 * @gfp_mask: allocation priority 719 * @gfp_mask: allocation priority
719 * 720 *
@@ -2614,7 +2615,7 @@ unsigned int skb_find_text(struct sk_buff *skb, unsigned int from,
2614EXPORT_SYMBOL(skb_find_text); 2615EXPORT_SYMBOL(skb_find_text);
2615 2616
2616/** 2617/**
2617 * skb_append_datato_frags: - append the user data to a skb 2618 * skb_append_datato_frags - append the user data to a skb
2618 * @sk: sock structure 2619 * @sk: sock structure
2619 * @skb: skb structure to be appened with user data. 2620 * @skb: skb structure to be appened with user data.
2620 * @getfrag: call back function to be used for getting the user data 2621 * @getfrag: call back function to be used for getting the user data