Commit 0bf73255 authored by Zhengchao Shao's avatar Zhengchao Shao Committed by Jakub Kicinski

netlink: fix some kernel-doc comments

Modify the comment of input parameter of nlmsg_ and nla_ function.
Signed-off-by: default avatarZhengchao Shao <shaozhengchao@huawei.com>
Link: https://lore.kernel.org/r/20220824013621.365103-1-shaozhengchao@huawei.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 35bbe652
...@@ -741,6 +741,7 @@ static inline int __nlmsg_parse(const struct nlmsghdr *nlh, int hdrlen, ...@@ -741,6 +741,7 @@ static inline int __nlmsg_parse(const struct nlmsghdr *nlh, int hdrlen,
* @hdrlen: length of family specific header * @hdrlen: length of family specific header
* @tb: destination array with maxtype+1 elements * @tb: destination array with maxtype+1 elements
* @maxtype: maximum attribute type to be expected * @maxtype: maximum attribute type to be expected
* @policy: validation policy
* @extack: extended ACK report struct * @extack: extended ACK report struct
* *
* See nla_parse() * See nla_parse()
...@@ -760,6 +761,7 @@ static inline int nlmsg_parse(const struct nlmsghdr *nlh, int hdrlen, ...@@ -760,6 +761,7 @@ static inline int nlmsg_parse(const struct nlmsghdr *nlh, int hdrlen,
* @hdrlen: length of family specific header * @hdrlen: length of family specific header
* @tb: destination array with maxtype+1 elements * @tb: destination array with maxtype+1 elements
* @maxtype: maximum attribute type to be expected * @maxtype: maximum attribute type to be expected
* @policy: validation policy
* @extack: extended ACK report struct * @extack: extended ACK report struct
* *
* See nla_parse_deprecated() * See nla_parse_deprecated()
...@@ -779,6 +781,7 @@ static inline int nlmsg_parse_deprecated(const struct nlmsghdr *nlh, int hdrlen, ...@@ -779,6 +781,7 @@ static inline int nlmsg_parse_deprecated(const struct nlmsghdr *nlh, int hdrlen,
* @hdrlen: length of family specific header * @hdrlen: length of family specific header
* @tb: destination array with maxtype+1 elements * @tb: destination array with maxtype+1 elements
* @maxtype: maximum attribute type to be expected * @maxtype: maximum attribute type to be expected
* @policy: validation policy
* @extack: extended ACK report struct * @extack: extended ACK report struct
* *
* See nla_parse_deprecated_strict() * See nla_parse_deprecated_strict()
...@@ -814,7 +817,6 @@ static inline struct nlattr *nlmsg_find_attr(const struct nlmsghdr *nlh, ...@@ -814,7 +817,6 @@ static inline struct nlattr *nlmsg_find_attr(const struct nlmsghdr *nlh,
* @len: length of attribute stream * @len: length of attribute stream
* @maxtype: maximum attribute type to be expected * @maxtype: maximum attribute type to be expected
* @policy: validation policy * @policy: validation policy
* @validate: validation strictness
* @extack: extended ACK report struct * @extack: extended ACK report struct
* *
* Validates all attributes in the specified attribute stream against the * Validates all attributes in the specified attribute stream against the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment