]> Pileus Git - ~andy/linux/commitdiff
audit: Update kdoc for audit_send_reply and audit_list_rules_send
authorEric W. Biederman <ebiederm@xmission.com>
Sat, 8 Mar 2014 23:31:54 +0000 (15:31 -0800)
committerEric W. Biederman <ebiederm@xmission.com>
Sat, 8 Mar 2014 23:31:54 +0000 (15:31 -0800)
The kbuild test robot reported:
> tree:   git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git for-next
> head:   6f285b19d09f72e801525f5eea1bdad22e559bf0
> commit: 6f285b19d09f72e801525f5eea1bdad22e559bf0 [2/2] audit: Send replies in the proper network namespace.
> reproduce: make htmldocs
>
> >> Warning(kernel/audit.c:575): No description found for parameter 'request_skb'
> >> Warning(kernel/audit.c:575): Excess function parameter 'portid' description in 'audit_send_reply'
> >> Warning(kernel/auditfilter.c:1074): No description found for parameter 'request_skb'
> >> Warning(kernel/auditfilter.c:1074): Excess function parameter 'portid' description in 'audit_list_rules_s

Which was caused by my failure to update the kdoc annotations when I
updated the functions.  Fix that small oversight now.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
kernel/audit.c
kernel/auditfilter.c

index 32086bff5564edf9737da7ea4a4aa740b9c659bc..3392d3e0254ac5d93199c0b00e271cbb0b2bfc9c 100644 (file)
@@ -559,7 +559,7 @@ static int audit_send_reply_thread(void *arg)
 }
 /**
  * audit_send_reply - send an audit reply message via netlink
- * @portid: netlink port to which to send reply
+ * @request_skb: skb of request we are replying to (used to target the reply)
  * @seq: sequence number
  * @type: audit message type
  * @done: done (last) flag
index e8d1c7c515d734b118f337f09ccdd8c7db279c13..92062fd6cc8cec4deff933c04848782bfdcded11 100644 (file)
@@ -1067,7 +1067,7 @@ int audit_rule_change(int type, __u32 portid, int seq, void *data,
 
 /**
  * audit_list_rules_send - list the audit rules
- * @portid: target portid for netlink audit messages
+ * @request_skb: skb of request we are replying to (used to target the reply)
  * @seq: netlink audit message sequence (serial) number
  */
 int audit_list_rules_send(struct sk_buff *request_skb, int seq)