Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=0ea9d70df8f8be741ee0525490370de06163d2de
Commit:     0ea9d70df8f8be741ee0525490370de06163d2de
Parent:     21511abd0a248a3f225d3b611cfabb93124605a7
Author:     Patrick McHardy <[EMAIL PROTECTED]>
AuthorDate: Tue Feb 5 16:19:33 2008 -0800
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Tue Feb 5 16:19:33 2008 -0800

    [NET_SCHED]: em_meta: fix compile warning
    
    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 <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
---
 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 9c2ec19..2a7e648 100644
--- 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
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to