From: stephen hemminger Date: Wed, 23 Feb 2011 09:06:52 +0000 (+0000) Subject: em_meta: fix sparse warning X-Git-Tag: upstream/snapshot3+hdmi~11215^2~283 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e0c563101a3f90ce4f4fa3df5ac803f5c50ebcc5;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git em_meta: fix sparse warning gfp_t needs to be cast to integer. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller --- diff --git a/net/sched/em_meta.c b/net/sched/em_meta.c index a889d09..e5e1747 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)