diff options
author | stephen hemminger <shemminger@vyatta.com> | 2011-02-23 09:06:52 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-23 14:11:33 -0800 |
commit | e0c563101a3f90ce4f4fa3df5ac803f5c50ebcc5 (patch) | |
tree | f8c26ec822a2dbc4765ea770f6c019c8b11c8ea5 /net/sched | |
parent | ea18fd950e3210ec6d616e2e669550dd86f74d94 (diff) | |
download | linux-3.10-e0c563101a3f90ce4f4fa3df5ac803f5c50ebcc5.tar.gz linux-3.10-e0c563101a3f90ce4f4fa3df5ac803f5c50ebcc5.tar.bz2 linux-3.10-e0c563101a3f90ce4f4fa3df5ac803f5c50ebcc5.zip |
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')
-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 a889d099320..e5e17478267 100644 --- a/net/sched/em_meta.c +++ b/net/sched/em_meta.c @@ -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) |