summaryrefslogtreecommitdiffstats
path: root/net/sched/em_meta.c
diff options
context:
space:
mode:
authorstephen hemminger <shemminger@vyatta.com>2011-02-23 09:06:52 +0000
committerDavid S. Miller <davem@davemloft.net>2011-02-23 14:11:33 -0800
commite0c563101a3f90ce4f4fa3df5ac803f5c50ebcc5 (patch)
treef8c26ec822a2dbc4765ea770f6c019c8b11c8ea5 /net/sched/em_meta.c
parentea18fd950e3210ec6d616e2e669550dd86f74d94 (diff)
downloadlinux-e0c563101a3f90ce4f4fa3df5ac803f5c50ebcc5.tar.bz2
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)
META_COLLECTOR(int_sk_alloc)
{
SKIP_NONLOCAL(skb);
- dst->value = skb->sk->sk_allocation;
+ dst->value = (__force int) skb->sk->sk_allocation;
}
META_COLLECTOR(int_sk_route_caps)