[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1409226189-2369-1-git-send-email-jeffrey.t.kirsher@intel.com>
Date: Thu, 28 Aug 2014 04:43:09 -0700
From: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
To: james.l.morris@...cle.com, serge@...lyn.com
Cc: Mark Rustad <mark.d.rustad@...el.com>,
linux-kernel@...r.kernel.org,
linux-security-module@...r.kernel.org,
Jeff Kirsher <jeffrey.t.kirsher@...el.com>
Subject: [PATCH] security: Silence shadow warning
From: Mark Rustad <mark.d.rustad@...el.com>
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@...el.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
---
include/linux/security.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/security.h b/include/linux/security.h
index 623f90e..3b3aeb1 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;
--
1.9.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists