[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9beb8a38-847f-8d32-0c08-2ca6797d8fb6@cogentembedded.com>
Date: Mon, 4 Dec 2017 20:30:34 +0300
From: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
To: Thomas Petazzoni <thomas.petazzoni@...e-electrons.com>,
"David S. Miller" <davem@...emloft.net>,
Niklas Söderlund
<niklas.soderlund+renesas@...natech.se>,
Geert Uytterhoeven <geert+renesas@...der.be>,
Simon Horman <horms+renesas@...ge.net.au>
Cc: netdev@...r.kernel.org, linux-renesas-soc@...r.kernel.org
Subject: Re: [PATCH 2/2] net: sh_eth: don't use NULL as "struct device" for
the DMA mapping API
On 12/04/2017 04:33 PM, Thomas Petazzoni wrote:
> Using NULL as argument for the DMA mapping API is bogus, as the DMA
> mapping API may use information from the "struct device" to perform
> the DMA mapping operation. Therefore, pass the appropriate "struct
> device".
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@...e-electrons.com>
Acked-by: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
[...]
MBR, Sergei
Powered by blists - more mailing lists