netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Simon Horman <horms@verge.net.au>
To: David Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org, linux-sh@vger.kernel.org,
	magnus.damm@gmail.com, sergei.shtylyov@cogentembedded.com,
	kouei.abe.cp@renesas.com
Subject: Re: [PATCH net-next 1/2] sh_eth: Fix cache invalidation omission of receive buffer
Date: Fri, 30 Aug 2013 09:16:52 +0900	[thread overview]
Message-ID: <20130830001651.GE25167@verge.net.au> (raw)
In-Reply-To: <20130829.161553.755954777649764863.davem@davemloft.net>

On Thu, Aug 29, 2013 at 04:15:53PM -0400, David Miller wrote:
> From: Simon Horman <horms+renesas@verge.net.au>
> Date: Wed, 28 Aug 2013 09:43:08 +0900
> 
> > From: Kouei Abe <kouei.abe.cp@renesas.com>
> > 
> > Signed-off-by: Kouei Abe <kouei.abe.cp@renesas.com>
> > Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
> > ---
> >  drivers/net/ethernet/renesas/sh_eth.c | 2 ++
> >  1 file changed, 2 insertions(+)
> > 
> > diff --git a/drivers/net/ethernet/renesas/sh_eth.c b/drivers/net/ethernet/renesas/sh_eth.c
> > index c357076..f386a8f 100644
> > --- a/drivers/net/ethernet/renesas/sh_eth.c
> > +++ b/drivers/net/ethernet/renesas/sh_eth.c
> > @@ -1342,6 +1342,8 @@ static int sh_eth_rx(struct net_device *ndev, u32 intr_status, int *quota)
> >  			mdp->rx_skbuff[entry] = NULL;
> >  			if (mdp->cd->rpadir)
> >  				skb_reserve(skb, NET_IP_ALIGN);
> > +			dma_sync_single_for_cpu(&ndev->dev, rxdesc->addr,
> > +				mdp->rx_buf_sz,	DMA_FROM_DEVICE);
> 
> Please indent the second line of the dma sync call properly.
> 
> The arguments should start at the first column after the openning
> parenthesis of the function call on the first line, using the
> appropriate number of TAB then space characters (as needed).

Sorry for missing that. I'll fix it up and re-post.

  reply	other threads:[~2013-08-30  0:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-28  0:43 [PATCH net-next 0/2] sh_eth Updates Simon Horman
2013-08-28  0:43 ` [PATCH net-next 1/2] sh_eth: Fix cache invalidation omission of receive buffer Simon Horman
2013-08-29 20:15   ` David Miller
2013-08-30  0:16     ` Simon Horman [this message]
2013-08-28  0:43 ` [PATCH net-next 2/2] sh_eth: Enable Rx descriptor word 0 shift for r8a7790 Simon Horman
2013-08-28 15:05   ` Sergei Shtylyov
2013-08-29  0:06     ` Simon Horman

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=20130830001651.GE25167@verge.net.au \
    --to=horms@verge.net.au \
    --cc=davem@davemloft.net \
    --cc=kouei.abe.cp@renesas.com \
    --cc=linux-sh@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=sergei.shtylyov@cogentembedded.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).