Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d211f177 authored by Eric W. Biederman's avatar Eric W. Biederman
Browse files

audit: Update kdoc for audit_send_reply and audit_list_rules_send

The kbuild test robot reported:
> tree:   git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git

 for-next
> head:   6f285b19
> commit: 6f285b19 [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: default avatar"Eric W. Biederman" <ebiederm@xmission.com>
parent 6f285b19
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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)