[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMuHMdVfjE=+YiqCrPfGObeYYkQwKGiQEWyprQr-n9z7J9-X-A@mail.gmail.com>
Date: Sat, 9 Jun 2018 16:33:47 +0200
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: Michael Schmitz <schmitzmic@...il.com>
Cc: netdev <netdev@...r.kernel.org>,
"Linux/m68k" <linux-m68k@...r.kernel.org>,
Andrew Lunn <andrew@...n.ch>,
Finn Thain <fthain@...egraphics.com.au>
Subject: Re: [RFC PATCH 2/2] net-next: xsurf100: drop include of lib8390.c
Hi Michael,
On Sat, Jun 9, 2018 at 7:58 AM Michael Schmitz <schmitzmic@...il.com> wrote:
>
> Now that ax88796.c exports the ax_NS8390_init() symbol, we can
> include 8390.h instead of lib8390.c, avoiding duplication of that
> function and killing a few compile warnings in the bargain.
>
> Signed-off-by: Michael Schmitz <schmitzmic@...il.com>
Thanks for your patch!
> --- a/drivers/net/ethernet/8390/xsurf100.c
> +++ b/drivers/net/ethernet/8390/xsurf100.c
> @@ -33,8 +33,6 @@
> #define HW_CHIPID 0x70
> #define HW_SCRATCH 0x78
>
> -#define __NS8390_init ax_NS8390_init
> -
> /* force unsigned long back to 'void __iomem *' */
> #define ax_convert_addr(_a) ((void __force __iomem *)(_a))
>
> @@ -80,12 +78,10 @@ static void reg_write16(void __iomem *base, u16 reg, u16 val)
This doesn't apply against net-next, which doesn't have reg_write16() (yet?).
Apart from that, your patch looks fine to me.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Powered by blists - more mailing lists