summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorMark Rustad2014-08-28 13:43:09 +0200
committerJames Morris2014-09-02 15:07:55 +0200
commitfbff66108352d19b5cffa7dce26d7638c9dd4d70 (patch)
treef2d4966f2cc114eddeea9a1818eaeb7d55fe2b65 /include/linux
parentMerge tag 'keys-next-20140805' of git://git.kernel.org/pub/scm/linux/kernel/g... (diff)
downloadkernel-qcow2-linux-fbff66108352d19b5cffa7dce26d7638c9dd4d70.tar.gz
kernel-qcow2-linux-fbff66108352d19b5cffa7dce26d7638c9dd4d70.tar.xz
kernel-qcow2-linux-fbff66108352d19b5cffa7dce26d7638c9dd4d70.zip
security: Silence shadow warning
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>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/security.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/security.h b/include/linux/security.h
index 623f90e5f38d..3b3aeb1b74cb 100644
--- a/include/linux/security.h
+++ b/include/linux/security.h
@@ -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;