diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-06-08 23:58:52 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-06-17 21:29:49 -0700 |
commit | 6f68dc37759b1d6ff3b4d4a9d097605a09f8f043 (patch) | |
tree | 7d0be960b8c0ec5b947637a0650f1c639002103a /include/linux/security.h | |
parent | 9dadaa19cb11a8db38072a92a3f95deab7a797fb (diff) | |
download | lwn-6f68dc37759b1d6ff3b4d4a9d097605a09f8f043.tar.gz lwn-6f68dc37759b1d6ff3b4d4a9d097605a09f8f043.zip |
[NET]: Fix warnings after LSM-IPSEC changes.
Assignment used as truth value in xfrm_del_sa()
and xfrm_get_policy().
Wrong argument type declared for security_xfrm_state_delete()
when SELINUX is disabled.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/security.h')
-rw-r--r-- | include/linux/security.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/security.h b/include/linux/security.h index 14c9bd050607..4dfb1b84a9b3 100644 --- a/include/linux/security.h +++ b/include/linux/security.h @@ -2995,7 +2995,7 @@ static inline void security_xfrm_state_free(struct xfrm_state *x) { } -static inline int security_xfrm_state_delete(struct xfrm_policy *xp) +static inline int security_xfrm_state_delete(struct xfrm_state *x) { return 0; } |