diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2005-10-04 22:45:35 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-10-04 22:45:35 -0700 |
commit | 83fa3400ebcba307a60909824a251be984eb9567 (patch) | |
tree | b01c3eaabd156ba75ec41bea0be3d73fd066713c /include/net | |
parent | 3d2aef668920e8d93b77f145f8f647f62abe75db (diff) | |
download | op-kernel-dev-83fa3400ebcba307a60909824a251be984eb9567.zip op-kernel-dev-83fa3400ebcba307a60909824a251be984eb9567.tar.gz |
[XFRM]: fix sparse gfp nocast warnings
Fix implicit nocast warnings in xfrm code:
net/xfrm/xfrm_policy.c:232:47: warning: implicit cast to nocast type
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/xfrm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/xfrm.h b/include/net/xfrm.h index a9d0d8c..7564b2c 100644 --- a/include/net/xfrm.h +++ b/include/net/xfrm.h @@ -875,7 +875,7 @@ static inline int xfrm_dst_lookup(struct xfrm_dst **dst, struct flowi *fl, unsig } #endif -struct xfrm_policy *xfrm_policy_alloc(int gfp); +struct xfrm_policy *xfrm_policy_alloc(unsigned int __nocast gfp); extern int xfrm_policy_walk(int (*func)(struct xfrm_policy *, int, int, void*), void *); int xfrm_policy_insert(int dir, struct xfrm_policy *policy, int excl); struct xfrm_policy *xfrm_policy_bysel(int dir, struct xfrm_selector *sel, |