* [PATCH] Netlink: Fix some doc comments in net/netlink/attr.c
@ 2008-06-23 19:19 Julius Volz
2008-06-28 3:02 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Julius Volz @ 2008-06-23 19:19 UTC (permalink / raw)
To: davem; +Cc: tgraf, netdev, Julius Volz
Fix some doc comments to match function and attribute names in
net/netlink/attr.c.
Signed-off-by: Julius Volz <juliusv@google.com>
---
net/netlink/attr.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/net/netlink/attr.c b/net/netlink/attr.c
index 47bbf45..2d106cf 100644
--- a/net/netlink/attr.c
+++ b/net/netlink/attr.c
@@ -132,6 +132,7 @@ errout:
* @maxtype: maximum attribute type to be expected
* @head: head of attribute stream
* @len: length of attribute stream
+ * @policy: validation policy
*
* Parses a stream of attributes and stores a pointer to each attribute in
* the tb array accessable via the attribute type. Attributes with a type
@@ -194,7 +195,7 @@ struct nlattr *nla_find(struct nlattr *head, int len, int attrtype)
/**
* nla_strlcpy - Copy string attribute payload into a sized buffer
* @dst: where to copy the string to
- * @src: attribute to copy the string from
+ * @nla: attribute to copy the string from
* @dstsize: size of destination buffer
*
* Copies at most dstsize - 1 bytes into the destination buffer.
@@ -340,9 +341,9 @@ struct nlattr *nla_reserve(struct sk_buff *skb, int attrtype, int attrlen)
}
/**
- * nla_reserve - reserve room for attribute without header
+ * nla_reserve_nohdr - reserve room for attribute without header
* @skb: socket buffer to reserve room on
- * @len: length of attribute payload
+ * @attrlen: length of attribute payload
*
* Reserves room for attribute payload without a header.
*
--
1.5.3.6
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Netlink: Fix some doc comments in net/netlink/attr.c
2008-06-23 19:19 [PATCH] Netlink: Fix some doc comments in net/netlink/attr.c Julius Volz
@ 2008-06-28 3:02 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2008-06-28 3:02 UTC (permalink / raw)
To: juliusv; +Cc: tgraf, netdev
From: Julius Volz <juliusv@google.com>
Date: Mon, 23 Jun 2008 21:19:11 +0200
> Fix some doc comments to match function and attribute names in
> net/netlink/attr.c.
>
> Signed-off-by: Julius Volz <juliusv@google.com>
Applied, thank you.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-06-28 3:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-23 19:19 [PATCH] Netlink: Fix some doc comments in net/netlink/attr.c Julius Volz
2008-06-28 3:02 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).