summaryrefslogtreecommitdiffstats
path: root/security/capability.c
diff options
context:
space:
mode:
authorDavid S. Miller2011-02-23 03:13:15 +0100
committerDavid S. Miller2011-02-23 03:13:15 +0100
commite33f770426674a565a188042caf3f974f8b3722d (patch)
tree6ee309a1cbccec1cef9972fc6c8f8d9b280978f5 /security/capability.c
parentxfrm: Mark flowi arg to xfrm_selector_match() const. (diff)
downloadkernel-qcow2-linux-e33f770426674a565a188042caf3f974f8b3722d.tar.gz
kernel-qcow2-linux-e33f770426674a565a188042caf3f974f8b3722d.tar.xz
kernel-qcow2-linux-e33f770426674a565a188042caf3f974f8b3722d.zip
xfrm: Mark flowi arg to security_xfrm_state_pol_flow_match() const.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security/capability.c')
-rw-r--r--security/capability.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/capability.c b/security/capability.c
index 2a5df2b7da83..b8eeaee5c99e 100644
--- a/security/capability.c
+++ b/security/capability.c
@@ -760,7 +760,7 @@ static int cap_xfrm_policy_lookup(struct xfrm_sec_ctx *ctx, u32 sk_sid, u8 dir)
static int cap_xfrm_state_pol_flow_match(struct xfrm_state *x,
struct xfrm_policy *xp,
- struct flowi *fl)
+ const struct flowi *fl)
{
return 1;
}