Patchwork net: fix kernel-doc for sk_filter_rcu_release

login
register
mail settings
Submitter Randy Dunlap
Date Nov. 18, 2010, 11:02 p.m.
Message ID <20101118150237.1f0ba4b5.randy.dunlap@oracle.com>
Download mbox | patch
Permalink /patch/72164/
State Accepted
Delegated to: David Miller
Headers show

Comments

Randy Dunlap - Nov. 18, 2010, 11:02 p.m.
From: Randy Dunlap <randy.dunlap@oracle.com>

Fix kernel-doc warning for sk_filter_rcu_release():

Warning(net/core/filter.c:586): missing initial short description on line:
 * 	sk_filter_rcu_release: Release a socket filter by rcu_head

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc:	"David S. Miller" <davem@davemloft.net>
Cc:	netdev@vger.kernel.org
---
 net/core/filter.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
David Miller - Nov. 19, 2010, 5:27 p.m.
From: Randy Dunlap <randy.dunlap@oracle.com>
Date: Thu, 18 Nov 2010 15:02:37 -0800

> From: Randy Dunlap <randy.dunlap@oracle.com>
> 
> Fix kernel-doc warning for sk_filter_rcu_release():
> 
> Warning(net/core/filter.c:586): missing initial short description on line:
>  * 	sk_filter_rcu_release: Release a socket filter by rcu_head
> 
> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>

Applied, thanks Randy.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

--- lnx-2637-r2g4-kerndoc.orig/net/core/filter.c
+++ lnx-2637-r2g4-kerndoc/net/core/filter.c
@@ -589,7 +589,7 @@  int sk_chk_filter(struct sock_filter *fi
 EXPORT_SYMBOL(sk_chk_filter);
 
 /**
- * 	sk_filter_rcu_release: Release a socket filter by rcu_head
+ * 	sk_filter_rcu_release - Release a socket filter by rcu_head
  *	@rcu: rcu_head that contains the sk_filter to free
  */
 static void sk_filter_rcu_release(struct rcu_head *rcu)