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>
This commit is contained in:
committed by
David S. Miller
parent
ea18fd950e
commit
e0c563101a
@@ -401,7 +401,7 @@ META_COLLECTOR(int_sk_sndbuf)
|
|||||||
META_COLLECTOR(int_sk_alloc)
|
META_COLLECTOR(int_sk_alloc)
|
||||||
{
|
{
|
||||||
SKIP_NONLOCAL(skb);
|
SKIP_NONLOCAL(skb);
|
||||||
dst->value = skb->sk->sk_allocation;
|
dst->value = (__force int) skb->sk->sk_allocation;
|
||||||
}
|
}
|
||||||
|
|
||||||
META_COLLECTOR(int_sk_route_caps)
|
META_COLLECTOR(int_sk_route_caps)
|
||||||
|
Reference in New Issue
Block a user