Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[NET]: kernel-doc fixes

Fix kernel-doc omissions in net/:

Warning(linux-2.6.23-rc1//net/core/dev.c:2728): No description found for parameter 'addr'
Warning(linux-2.6.23-rc1//net/core/dev.c:2752): No description found for parameter 'addr'
Warning(linux-2.6.23-rc1//net/core/dev.c:3839): No description found for parameter 'net_dma'
Warning(linux-2.6.23-rc1//net/core/dev.c:3877): No description found for parameter 'state'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Randy Dunlap and committed by
David S. Miller
0ed72ec4 113bbbd8

+11 -5
+11 -5
net/core/dev.c
··· 2718 2718 /** 2719 2719 * dev_unicast_delete - Release secondary unicast address. 2720 2720 * @dev: device 2721 + * @addr: address to delete 2722 + * @alen: length of @addr 2721 2723 * 2722 2724 * Release reference to a secondary unicast address and remove it 2723 - * from the device if the reference count drop to zero. 2725 + * from the device if the reference count drops to zero. 2724 2726 * 2725 2727 * The caller must hold the rtnl_mutex. 2726 2728 */ ··· 2744 2742 /** 2745 2743 * dev_unicast_add - add a secondary unicast address 2746 2744 * @dev: device 2745 + * @addr: address to delete 2746 + * @alen: length of @addr 2747 2747 * 2748 2748 * Add a secondary unicast address to the device or increase 2749 2749 * the reference count if it already exists. ··· 3834 3830 3835 3831 #ifdef CONFIG_NET_DMA 3836 3832 /** 3837 - * net_dma_rebalance - 3838 - * This is called when the number of channels allocated to the net_dma_client 3839 - * changes. The net_dma_client tries to have one DMA channel per CPU. 3833 + * net_dma_rebalance - try to maintain one DMA channel per CPU 3834 + * @net_dma: DMA client and associated data (lock, channels, channel_mask) 3835 + * 3836 + * This is called when the number of channels allocated to the net_dma client 3837 + * changes. The net_dma client tries to have one DMA channel per CPU. 3840 3838 */ 3841 3839 3842 3840 static void net_dma_rebalance(struct net_dma *net_dma) ··· 3875 3869 * netdev_dma_event - event callback for the net_dma_client 3876 3870 * @client: should always be net_dma_client 3877 3871 * @chan: DMA channel for the event 3878 - * @event: event type 3872 + * @state: DMA state to be handled 3879 3873 */ 3880 3874 static enum dma_state_client 3881 3875 netdev_dma_event(struct dma_client *client, struct dma_chan *chan,