Skip to contentSkip to conversation

net/core: fix kernel-doc warnings

PATCH Applied Randy Dunlap 2 participants 2 messages Jun 9, 2012

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net/core: fix kernel-doc warnings

From: Randy Dunlap <[email protected]>

Fix kernel-doc warnings in net/core:

Warning(net/core/skbuff.c:3368): No description found for parameter 'delta_truesize' Warning(net/core/filter.c:628): No description found for parameter 'pfp' Warning(net/core/filter.c:628): Excess function parameter 'sk' description in 'sk_unattached_filter_create'

---
 net/core/filter.c |    4 ++--
 net/core/skbuff.c |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
net/core/filter.c +2 -2
@@ -616,9 +616,9 @@ static int __sk_prepare_filter(struct sk
 /**
  *	sk_unattached_filter_create - create an unattached filter
  *	@fprog: the filter program
- *	@sk: the socket to use
+ *	@pfp: the unattached filter that is created
  *
- * Create a filter independent ofr any socket. We first run some
+ * Create a filter independent of any socket. We first run some
  * sanity checks on it to make sure it does not explode on us later.
  * If an error occurs or there is insufficient memory for the filter
  * a negative errno code is returned. On success the return is zero.
net/core/skbuff.c +1 -1
@@ -3361,7 +3361,7 @@ EXPORT_SYMBOL(kfree_skb_partial);
  * @to: prior buffer
  * @from: buffer to add
  * @fragstolen: pointer to boolean
- *
+ * @delta_truesize: how much more was allocated than was requested
  */
 bool skb_try_coalesce(struct sk_buff *to, struct sk_buff *from,
 		      bool *fragstolen, int *delta_truesize)
maintainer Applied
#1 lore raw

From: Randy Dunlap <[email protected]>
Date: Fri, 08 Jun 2012 17:01:44 -0700

Quoted 9 lines

From: Randy Dunlap <[email protected]>

Fix kernel-doc warnings in net/core:

Warning(net/core/skbuff.c:3368): No description found for parameter 'delta_truesize' Warning(net/core/filter.c:628): No description found for parameter 'pfp' Warning(net/core/filter.c:628): Excess function parameter 'sk' description in 'sk_unattached_filter_create'

Applied.