mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] security: Silence shadow warning
@ 2014-08-28 11:43 Jeff Kirsher
  2014-09-02 12:55 ` James Morris
  0 siblings, 1 reply; 2+ messages in thread
From: Jeff Kirsher @ 2014-08-28 11:43 UTC (permalink / raw)
  To: james.l.morris, serge
  Cc: Mark Rustad, linux-kernel, linux-security-module, Jeff Kirsher

From: Mark Rustad <mark.d.rustad@intel.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@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] security: Silence shadow warning
  2014-08-28 11:43 [PATCH] security: Silence shadow warning Jeff Kirsher
@ 2014-09-02 12:55 ` James Morris
  0 siblings, 0 replies; 2+ messages in thread
From: James Morris @ 2014-09-02 12:55 UTC (permalink / raw)
  To: Jeff Kirsher
  Cc: james.l.morris, serge, Mark Rustad, linux-kernel, linux-security-module

On Thu, 28 Aug 2014, Jeff Kirsher wrote:

> From: Mark Rustad <mark.d.rustad@intel.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@intel.com>
> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>


Applied to
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git next


-- 
James Morris
<jmorris@namei.org>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-09-02 12:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-28 11:43 [PATCH] security: Silence shadow warning Jeff Kirsher
2014-09-02 12:55 ` James Morris

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®