Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d71fce6b932d83e0a1caa49dfa5a536fd50f07c9
Commit:     d71fce6b932d83e0a1caa49dfa5a536fd50f07c9
Parent:     28f7b0360f46eeb9eeee63d03bb5484918a54837
Author:     Andrew Morton <[EMAIL PROTECTED]>
AuthorDate: Thu Oct 11 02:44:23 2007 -0700
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Thu Oct 11 02:44:23 2007 -0700

    [QETH]: fix qeth_main.c
    
    drivers/s390/net/qeth_main.c: In function 'qeth_hard_header_parse':
    drivers/s390/net/qeth_main.c:6584: error: 'dev' undeclared (first use in 
this function)
    drivers/s390/net/qeth_main.c:6584: error: (Each undeclared identifier is 
reported only once
    drivers/s390/net/qeth_main.c:6584: error: for each function it appears in.)
    
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
---
 drivers/s390/net/qeth_main.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/s390/net/qeth_main.c b/drivers/s390/net/qeth_main.c
index c67e7df..a2d08c9 100644
--- a/drivers/s390/net/qeth_main.c
+++ b/drivers/s390/net/qeth_main.c
@@ -6580,11 +6580,12 @@ qeth_hard_header_parse(const struct sk_buff *skb, 
unsigned char *haddr)
 {
        const struct qeth_card *card;
        const struct ethhdr *eth;
+       struct net_device *dev = skb->dev;
 
        if (dev->type != ARPHRD_IEEE802_TR)
                return 0;
 
-       card = qeth_get_card_from_dev(skb->dev);
+       card = qeth_get_card_from_dev(dev);
        if (card->options.layer2)
                goto haveheader;
 #ifdef CONFIG_QETH_IPV6
-
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