mirror of https://gitee.com/openkylin/linux.git
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:
parent
ea18fd950e
commit
e0c563101a
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue