mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/14] kernel-doc: fix new warnings in auditsc.c
@ 2012-01-21 19:02 Randy Dunlap
  0 siblings, 0 replies; only message in thread
From: Randy Dunlap @ 2012-01-21 19:02 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: Linus Torvalds, Al Viro, Eric Paris

From: Randy Dunlap <rdunlap@xenotime.net>

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>
---
 kernel/auditsc.c |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

--- lnx-33-rc1.orig/kernel/auditsc.c
+++ lnx-33-rc1/kernel/auditsc.c
@@ -1863,11 +1863,12 @@ void __audit_syscall_entry(int arch, int
 
 /**
  * audit_syscall_exit - deallocate audit context after a system call
- * @pt_regs: syscall registers
+ * @success: success value of the syscall
+ * @return_code: return value of the syscall
  *
  * Tear down after system call.  If the audit context has been marked as
  * auditable (either because of the AUDIT_RECORD_CONTEXT state from
- * filtering, or because some other part of the kernel write an audit
+ * filtering, or because some other part of the kernel wrote an audit
  * message), then write out the syscall information.  In call cases,
  * free the names stored from getname().
  */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-01-21 18:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-21 19:02 [PATCH 1/14] kernel-doc: fix new warnings in auditsc.c Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®