projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21511ab
)
[NET_SCHED]: em_meta: fix compile warning
author
Patrick McHardy
<kaber@trash.net>
Wed, 6 Feb 2008 00:19:33 +0000
(16:19 -0800)
committer
David S. Miller
<davem@davemloft.net>
Wed, 6 Feb 2008 00:19:33 +0000
(16:19 -0800)
net/sched/em_meta.c: In function 'meta_int_vlan_tag':
net/sched/em_meta.c:179: warning: 'tag' may be used uninitialized in this function
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/em_meta.c
patch
|
blob
|
blame
|
history
diff --git
a/net/sched/em_meta.c
b/net/sched/em_meta.c
index 9c2ec1992a2a0f8a95d21957c1171ab06f59959c..2a7e648fbcf44edd7ce7944fee7627f3590d434a 100644
(file)
--- a/
net/sched/em_meta.c
+++ b/
net/sched/em_meta.c
@@
-176,7
+176,7
@@
META_COLLECTOR(var_dev)
META_COLLECTOR(int_vlan_tag)
{
- unsigned short
tag
;
+ unsigned short
uninitialized_var(tag)
;
if (vlan_get_tag(skb, &tag) < 0)
*err = -1;
else