Skip to content

Commit

Permalink
em_meta: fix sparse warning
Browse files Browse the repository at this point in the history
gfp_t needs to be cast to integer.

Signed-off-by: Stephen Hemminger <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
stephen hemminger authored and davem330 committed Feb 23, 2011
1 parent ea18fd9 commit e0c5631
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/sched/em_meta.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e0c5631

Please sign in to comment.