Get rid of sparse warning in em_meta API.

Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]>

--- pro-2.6.orig/net/sched/em_meta.c
+++ pro-2.6/net/sched/em_meta.c
@@ -384,7 +384,7 @@ META_COLLECTOR(int_sk_sndbuf)
 META_COLLECTOR(int_sk_alloc)
 {
        SKIP_NONLOCAL(skb);
-       dst->value = skb->sk->sk_allocation;
+       dst->value = (__force unsigned long) skb->sk->sk_allocation;
 }
 
 META_COLLECTOR(int_sk_route_caps)

--
Stephen Hemminger <[EMAIL PROTECTED]>
OSDL http://developer.osdl.org/~shemminger

-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to