Thread (12 messages) 12 messages, 4 authors, 2017-12-05

Re: [PATCH 1/2] net: sh_eth: use correct "struct device" when calling DMA mapping functions

flat view

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2017-12-05 09:40:00
Also in: linux-renesas-soc

Hi Thomas,

On Tue, Dec 5, 2017 at 10:38 AM, Thomas Petazzoni
[off-list ref] wrote:
On Tue, 5 Dec 2017 09:39:35 +0100, Geert Uytterhoeven wrote:
quoted
quoted
   Using 'ndev->dev.parent' (as in ravb) also should work... not sure which
is better
That was going to be my comment, too. I also haven't checked which
generates the smallest code.
Using ndev->dev.parent actually generates bigger code (44 bytes larger) :
Thanks a lot for checking!

Gr{oetje,eeting}s,

                        Geert
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help