security: Silence shadow warning
authorMark Rustad <mark.d.rustad@intel.com>
Thu, 28 Aug 2014 11:43:09 +0000 (04:43 -0700)
committerJames Morris <james.l.morris@oracle.com>
Tue, 2 Sep 2014 13:07:55 +0000 (23:07 +1000)
Renaming an unused formal parameter in the static inline function
security_inode_init_security eliminates many W=2 warnings.

Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: James Morris <james.l.morris@oracle.com>
include/linux/security.h

index 623f90e5f38de3f2fcc0a751a25eb10a97f21cd5..3b3aeb1b74cb21aba59947e01ecb992a129c6749 100644 (file)
@@ -2108,7 +2108,7 @@ static inline int security_dentry_init_security(struct dentry *dentry,
 static inline int security_inode_init_security(struct inode *inode,
                                                struct inode *dir,
                                                const struct qstr *qstr,
-                                               const initxattrs initxattrs,
+                                               const initxattrs xattrs,
                                                void *fs_data)
 {
        return 0;