public inbox for linux-m68k@lists.linux-m68k.org
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Michael Schmitz <schmitz@biophys.uni-duesseldorf.de>,
	linux-m68k@lists.linux-m68k.org
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Subject: [PATCH] m68k: Atari EtherNAT - use NETDEV_TX_OK instead of 0 in ndo_start_xmit()
Date: Wed, 23 Dec 2009 20:15:44 +0100	[thread overview]
Message-ID: <1261595749-23531-1-git-send-email-geert@linux-m68k.org> (raw)

Cfr. commit 6ed106549d17474ca17a16057f4c0ed4eba5a7ca ("net: use NETDEV_TX_OK
instead of 0 in ndo_start_xmit() functions")

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
 drivers/net/atari_91C111.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/atari_91C111.c b/drivers/net/atari_91C111.c
index 87e2327..3b53ff9 100644
--- a/drivers/net/atari_91C111.c
+++ b/drivers/net/atari_91C111.c
@@ -711,7 +711,7 @@ static int smc_hard_start_xmit(struct sk_buff *skb, struct net_device *dev)
 		dev->stats.tx_errors++;
 		dev->stats.tx_dropped++;
 		dev_kfree_skb(skb);
-		return 0;
+		return NETDEV_TX_OK;
 	}
 
 	smc_special_lock(&lp->lock);
@@ -748,7 +748,7 @@ static int smc_hard_start_xmit(struct sk_buff *skb, struct net_device *dev)
 		smc_hardware_send_pkt((unsigned long)dev);
 	}
 
-	return 0;
+	return NETDEV_TX_OK;
 }
 
 /*
-- 
1.6.0.4

             reply	other threads:[~2009-12-23 19:15 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-23 19:15 Geert Uytterhoeven [this message]
2009-12-23 19:15 ` [PATCH] m68k: Atari EtherNAT - restore MTU change operation Geert Uytterhoeven
2009-12-23 19:15   ` [PATCH] m68k: Atari EtherNAT - let smc91x work well under netpoll Geert Uytterhoeven
2009-12-23 19:15     ` [PATCH] m68k: Atari EtherNAT - fix compilation on SMP Geert Uytterhoeven
2009-12-23 19:15       ` [PATCH] m68k: Atari EtherNAT - Nicolas Pitre has a new email address Geert Uytterhoeven
2009-12-23 19:15         ` [PATCH] m68k: Atari EtherNAT - convert print_mac to %pM Geert Uytterhoeven
2010-01-04  3:49         ` [PATCH] m68k: Atari EtherNAT - Nicolas Pitre has a new email address Michael Schmitz
2010-01-04  7:27           ` Geert Uytterhoeven
2010-01-04  7:43             ` Geert Uytterhoeven
2010-01-07  2:08               ` Michael Schmitz
2010-01-07 17:19                 ` Geert Uytterhoeven
2010-01-08  1:15                   ` Michael Schmitz
2010-01-08  8:25                     ` Geert Uytterhoeven
2010-01-08 22:34                       ` Michael Schmitz
2010-01-10  4:56                         ` Michael Schmitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1261595749-23531-1-git-send-email-geert@linux-m68k.org \
    --to=geert@linux-m68k.org \
    --cc=linux-m68k@lists.linux-m68k.org \
    --cc=schmitz@biophys.uni-duesseldorf.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox