aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/em_meta.c
diff options
context:
space:
mode:
authorstephen hemminger <shemminger@vyatta.com>2011-02-23 04:06:52 -0500
committerDavid S. Miller <davem@davemloft.net>2011-02-23 17:11:33 -0500
commite0c563101a3f90ce4f4fa3df5ac803f5c50ebcc5 (patch)
treef8c26ec822a2dbc4765ea770f6c019c8b11c8ea5 /net/sched/em_meta.c
parentea18fd950e3210ec6d616e2e669550dd86f74d94 (diff)
em_meta: fix sparse warning
gfp_t needs to be cast to integer. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/em_meta.c')
-rw-r--r--net/sched/em_meta.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/em_meta.c b/net/sched/em_meta.c
index a889d099320f..e5e174782677 100644
--- a/net/sched/em_meta.c
+++ b/net/sched/em_meta.c
@@ -401,7 +401,7 @@ META_COLLECTOR(int_sk_sndbuf)
401META_COLLECTOR(int_sk_alloc) 401META_COLLECTOR(int_sk_alloc)
402{ 402{
403 SKIP_NONLOCAL(skb); 403 SKIP_NONLOCAL(skb);
404 dst->value = skb->sk->sk_allocation; 404 dst->value = (__force int) skb->sk->sk_allocation;
405} 405}
406 406
407META_COLLECTOR(int_sk_route_caps) 407META_COLLECTOR(int_sk_route_caps)