2007-10-22 04:00:12

by Randy Dunlap

[permalink] [raw]
Subject: [PATCH] auditsc: fix kernel-doc param warnings

From: Randy Dunlap <[email protected]>

Fix kernel-doc for auditsc parameter changes.

Warning(linux-2.6.23-git17//kernel/auditsc.c:1623): No description found for parameter 'dentry'
Warning(linux-2.6.23-git17//kernel/auditsc.c:1666): No description found for parameter 'dentry'

Signed-off-by: Randy Dunlap <[email protected]>
---
kernel/auditsc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

--- linux-2.6.23-git17.orig/kernel/auditsc.c
+++ linux-2.6.23-git17/kernel/auditsc.c
@@ -1615,7 +1615,7 @@ static void audit_copy_inode(struct audi
/**
* audit_inode - store the inode and device from a lookup
* @name: name being audited
- * @inode: inode being audited
+ * @dentry: dentry being audited
*
* Called from fs/namei.c:path_lookup().
*/
@@ -1650,7 +1650,7 @@ void __audit_inode(const char *name, con
/**
* audit_inode_child - collect inode info for created/removed objects
* @dname: inode's dentry name
- * @inode: inode being audited
+ * @dentry: dentry being audited
* @parent: inode of dentry parent
*
* For syscalls that create or remove filesystem objects, audit_inode
---
~Randy