[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 12 Dec 2014 13:30:10 +0900
From: Simon Horman <horms@...ge.net.au>
To: David Miller <davem@...emloft.net>
Cc: sergei.shtylyov@...entembedded.com,
mitsuhiro.kimura.kc@...esas.com, netdev@...r.kernel.org
Subject: Re: errors in alignment changes..
On Wed, Dec 10, 2014 at 08:42:15PM -0500, David Miller wrote:
> From: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
> Date: Thu, 11 Dec 2014 01:08:07 +0300
>
> > I guess we can just do:
> >
> > rxdesc->addr = dma_map_single(...);
>
> Best not to leave a potentially invalid DMA address in a
> receive descriptor the chip can potentially fetch and
> look at.
>
> That's why I said to put it into a local variable and
> check for errors first.
Hi Dave,
this patch ending up in net is partially my fault.
Sergei, do you have time to address David's concerns in relation to this
patch? If not I would like to suggest reverting it for now.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists