Re: [PATCH 2/5] net: mac8390: Use standard memcpy_{from,to}io()

From: David Miller
Date: Mon Jul 02 2018 - 09:39:14 EST


From: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
Date: Mon, 2 Jul 2018 15:35:29 +0200

> The mac8390 driver defines its own variants of memcpy_fromio() and
> memcpy_toio(), using similar implementations, but different function
> signatures.
>
> Remove the custom definitions of memcpy_fromio() and memcpy_toio(), and
> adjust all callers to the standard signatures.
>
> Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
> ---
> This is a dependency for "m68k: Move mem*io define guards to
> <asm/kmap.h>".
>
> Untested on real hardware, assembler output compared.

Acked-by: David S. Miller <davem@xxxxxxxxxxxxx>