mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 22:23:14 -04:00
[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>
This commit is contained in:
parent
9dadaa19cb
commit
6f68dc3775
2 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue