All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] security: capability.c remove nameidata argument
@ 2008-07-18 18:20 Harvey Harrison
  0 siblings, 0 replies; only message in thread
From: Harvey Harrison @ 2008-07-18 18:20 UTC (permalink / raw)
  To: Al Viro; +Cc: linux-next, Stephen Rothwell

In next-20080718
security/capability.c:865:2: warning: incorrect type in assignment (different argument counts)
security/capability.c:865:2:    expected int ( *inode_permission )( ... )
security/capability.c:865:2:    got int ( static [toplevel] *<noident> )( ... )

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
 security/capability.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/security/capability.c b/security/capability.c
index 5b01c0b..63d10da 100644
--- a/security/capability.c
+++ b/security/capability.c
@@ -211,8 +211,7 @@ static int cap_inode_follow_link(struct dentry *dentry,
 	return 0;
 }
 
-static int cap_inode_permission(struct inode *inode, int mask,
-				struct nameidata *nd)
+static int cap_inode_permission(struct inode *inode, int mask)
 {
 	return 0;
 }
-- 
1.5.6.3.569.ga9185

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2008-07-18 18:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-18 18:20 [PATCH] security: capability.c remove nameidata argument Harvey Harrison

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.