lkml.org 
[lkml]   [2016]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 02/15] netlink: improve function-level documentation
Date
Rename a variable in the documentation so that it corresponds to the name
of the function parameter.

Issue detected using Coccinelle (http://coccinelle.lip6.fr/)

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>

---
lib/nlattr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/nlattr.c b/lib/nlattr.c
index fce1e9a..14cb5cf 100644
--- a/lib/nlattr.c
+++ b/lib/nlattr.c
@@ -139,7 +139,7 @@ int nla_validate(const struct nlattr *head, int len, int maxtype,

/**
* nla_policy_len - Determin the max. length of a policy
- * @policy: policy to use
+ * @p: policy to use
* @n: number of policies
*
* Determines the max. length of the policy. It is currently used
\
 
 \ /
  Last update: 2016-10-01 22:05    [W:0.178 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site