From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vasiliy Kulikov Subject: Re: [PATCH] drivers: Fixes a typo from "dev" to "ndev" that caused compilation erros. Date: Thu, 29 Jul 2010 20:03:46 +0400 Message-ID: <20100729160346.GA3318@albatros> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "David S. Miller" , Chaithrika U S , Sriramakrishnan , Kevin Hilman , Jiri Pirko , netdev@vger.kernel.org, linux-kernel@vger.kernel.org To: Henrique Camargo Return-path: Received: from mail-ey0-f174.google.com ([209.85.215.174]:62682 "EHLO mail-ey0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754429Ab0G2QEO (ORCPT ); Thu, 29 Jul 2010 12:04:14 -0400 Content-Disposition: inline In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On Thu, Jul 29, 2010 at 12:51 -0300, Henrique Camargo wrote: > From: Henrique Camargo > > Fixes a typo from "dev" to "ndev" that caused compilation errors. > > Signed-off-by: Henrique Camargo Thanks, Reviewed-by: Kulikov Vasiliy Also I've checked my other patches of removing private stats, the rest are ok. > --- > 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