summaryrefslogtreecommitdiff
path: root/net/xfrm/xfrm_policy.c
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@xenotime.net>2005-10-05 05:45:35 (GMT)
committerDavid S. Miller <davem@davemloft.net>2005-10-05 05:45:35 (GMT)
commit83fa3400ebcba307a60909824a251be984eb9567 (patch)
treeb01c3eaabd156ba75ec41bea0be3d73fd066713c /net/xfrm/xfrm_policy.c
parent3d2aef668920e8d93b77f145f8f647f62abe75db (diff)
downloadlinux-83fa3400ebcba307a60909824a251be984eb9567.tar.xz
[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 'net/xfrm/xfrm_policy.c')
-rw-r--r--net/xfrm/xfrm_policy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xfrm/xfrm_policy.c b/net/xfrm/xfrm_policy.c
index fda737d..c6a0d34 100644
--- a/net/xfrm/xfrm_policy.c
+++ b/net/xfrm/xfrm_policy.c
@@ -225,7 +225,7 @@ expired:
* SPD calls.
*/
-struct xfrm_policy *xfrm_policy_alloc(int gfp)
+struct xfrm_policy *xfrm_policy_alloc(unsigned int __nocast gfp)
{
struct xfrm_policy *policy;