Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

kernel-doc: fix new warnings in auditsc.c

Fix new kernel-doc warnings in auditsc.c:

Warning(kernel/auditsc.c:1875): No description found for parameter 'success'
Warning(kernel/auditsc.c:1875): No description found for parameter 'return_code'
Warning(kernel/auditsc.c:1875): Excess function parameter 'pt_regs' description in '__audit_syscall_exit'

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Eric Paris <eparis@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information...
commit 42ae610c1a820ddecb80943d4ccfc936f7772535 1 parent 70c95b0
Randy Dunlap authored torvalds committed

Showing 1 changed file with 3 additions and 2 deletions. Show diff stats Hide diff stats

  1. +3 2 kernel/auditsc.c
5 kernel/auditsc.c
@@ -1863,11 +1863,12 @@ void __audit_syscall_entry(int arch, int major,
1863 1863
1864 1864 /**
1865 1865 * audit_syscall_exit - deallocate audit context after a system call
1866   - * @pt_regs: syscall registers
  1866 + * @success: success value of the syscall
  1867 + * @return_code: return value of the syscall
1867 1868 *
1868 1869 * Tear down after system call. If the audit context has been marked as
1869 1870 * auditable (either because of the AUDIT_RECORD_CONTEXT state from
1870   - * filtering, or because some other part of the kernel write an audit
  1871 + * filtering, or because some other part of the kernel wrote an audit
1871 1872 * message), then write out the syscall information. In call cases,
1872 1873 * free the names stored from getname().
1873 1874 */

0 comments on commit 42ae610

Please sign in to comment.
Something went wrong with that request. Please try again.