All of lore.kernel.org
 help / color / mirror / Atom feed
From: Henrique Camargo <henrique.camargo@ensitec.com.br>
To: David Miller <davem@davemloft.net>
Cc: chaithrika@ti.com, srk@ti.com, khilman@deeprootsystems.com,
	jpirko@redhat.com, netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org, segooon@gmail.com
Subject: [PATCH] Fixes a typo from "dev" to "ndev"
Date: Tue, 03 Aug 2010 00:10:42 -0300	[thread overview]
Message-ID: <1280805042.2089.6.camel@lemming> (raw)
In-Reply-To: <20100730.222034.183058824.davem@davemloft.net>

The typo was causing compilation errors since "dev" was not defined.

Signed-off-by: Henrique Camargo <henrique.camargo@ensitec.com.br>
---
 drivers/net/davinci_emac.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/davinci_emac.c b/drivers/net/davinci_emac.c
index 25e14d2..b89b7bf 100644
--- a/drivers/net/davinci_emac.c
+++ b/drivers/net/davinci_emac.c
@@ -1182,8 +1182,8 @@ static int emac_net_tx_complete(struct emac_priv *priv,
 	struct net_device *ndev = priv->ndev;
 	u32 cnt;
 
-	if (unlikely(num_tokens && netif_queue_stopped(dev)))
-		netif_start_queue(dev);
+	if (unlikely(num_tokens && netif_queue_stopped(ndev)))
+		netif_start_queue(ndev);
 	for (cnt = 0; cnt < num_tokens; cnt++) {
 		struct sk_buff *skb = (struct sk_buff *)net_data_tokens[cnt];
 		if (skb == NULL)
-- 
1.7.0.4




  reply	other threads:[~2010-08-03  3:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-29 15:51 [PATCH] drivers: Fixes a typo from "dev" to "ndev" that caused compilation erros Henrique Camargo
2010-07-29 15:51 ` Henrique Camargo
2010-07-29 16:03 ` Vasiliy Kulikov
2010-07-31  5:20 ` David Miller
2010-08-03  3:10   ` Henrique Camargo [this message]
2010-08-03  5:03     ` [PATCH] Fixes a typo from "dev" to "ndev" David Miller

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=1280805042.2089.6.camel@lemming \
    --to=henrique.camargo@ensitec.com.br \
    --cc=chaithrika@ti.com \
    --cc=davem@davemloft.net \
    --cc=jpirko@redhat.com \
    --cc=khilman@deeprootsystems.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=segooon@gmail.com \
    --cc=srk@ti.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.