projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea18fd9
)
em_meta: fix sparse warning
author
stephen hemminger
<shemminger@vyatta.com>
Wed, 23 Feb 2011 09:06:52 +0000
(09:06 +0000)
committer
David S. Miller
<davem@davemloft.net>
Wed, 23 Feb 2011 22:11:33 +0000
(14:11 -0800)
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>
net/sched/em_meta.c
patch
|
blob
|
history
diff --git
a/net/sched/em_meta.c
b/net/sched/em_meta.c
index a889d099320f1a11a74a8bff69c7fc05d6fd35c1..e5e17478267766efc6ceecb46186086760fb988c 100644
(file)
--- 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)