Skip to content

Commit 0bf7325

Browse files
zhengchaoshaokuba-moo
authored andcommitted
netlink: fix some kernel-doc comments
Modify the comment of input parameter of nlmsg_ and nla_ function. Signed-off-by: Zhengchao Shao <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 35bbe65 commit 0bf7325

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

include/net/netlink.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,7 @@ static inline int __nlmsg_parse(const struct nlmsghdr *nlh, int hdrlen,
741741
* @hdrlen: length of family specific header
742742
* @tb: destination array with maxtype+1 elements
743743
* @maxtype: maximum attribute type to be expected
744+
* @policy: validation policy
744745
* @extack: extended ACK report struct
745746
*
746747
* See nla_parse()
@@ -760,6 +761,7 @@ static inline int nlmsg_parse(const struct nlmsghdr *nlh, int hdrlen,
760761
* @hdrlen: length of family specific header
761762
* @tb: destination array with maxtype+1 elements
762763
* @maxtype: maximum attribute type to be expected
764+
* @policy: validation policy
763765
* @extack: extended ACK report struct
764766
*
765767
* See nla_parse_deprecated()
@@ -779,6 +781,7 @@ static inline int nlmsg_parse_deprecated(const struct nlmsghdr *nlh, int hdrlen,
779781
* @hdrlen: length of family specific header
780782
* @tb: destination array with maxtype+1 elements
781783
* @maxtype: maximum attribute type to be expected
784+
* @policy: validation policy
782785
* @extack: extended ACK report struct
783786
*
784787
* See nla_parse_deprecated_strict()
@@ -814,7 +817,6 @@ static inline struct nlattr *nlmsg_find_attr(const struct nlmsghdr *nlh,
814817
* @len: length of attribute stream
815818
* @maxtype: maximum attribute type to be expected
816819
* @policy: validation policy
817-
* @validate: validation strictness
818820
* @extack: extended ACK report struct
819821
*
820822
* Validates all attributes in the specified attribute stream against the

0 commit comments

Comments
 (0)