diff options
author | stephen hemminger <shemminger@vyatta.com> | 2011-02-23 04:06:52 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-23 17:11:33 -0500 |
commit | e0c563101a3f90ce4f4fa3df5ac803f5c50ebcc5 (patch) | |
tree | f8c26ec822a2dbc4765ea770f6c019c8b11c8ea5 /net/sched/em_meta.c | |
parent | ea18fd950e3210ec6d616e2e669550dd86f74d94 (diff) |
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>
Diffstat (limited to 'net/sched/em_meta.c')
-rw-r--r-- | net/sched/em_meta.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/em_meta.c b/net/sched/em_meta.c index a889d099320f..e5e174782677 100644 --- a/net/sched/em_meta.c +++ b/net/sched/em_meta.c | |||
@@ -401,7 +401,7 @@ META_COLLECTOR(int_sk_sndbuf) | |||
401 | META_COLLECTOR(int_sk_alloc) | 401 | META_COLLECTOR(int_sk_alloc) |
402 | { | 402 | { |
403 | SKIP_NONLOCAL(skb); | 403 | SKIP_NONLOCAL(skb); |
404 | dst->value = skb->sk->sk_allocation; | 404 | dst->value = (__force int) skb->sk->sk_allocation; |
405 | } | 405 | } |
406 | 406 | ||
407 | META_COLLECTOR(int_sk_route_caps) | 407 | META_COLLECTOR(int_sk_route_caps) |