[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMuHMdXaq=7bkL6Vx5CHve2mLTifa48y3-4KO2tdjAp3fQ-9Nw@mail.gmail.com>
Date: Sat, 2 Oct 2021 11:19:01 +0200
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: Jakub Kicinski <kuba@...nel.org>
Cc: "David S. Miller" <davem@...emloft.net>,
netdev <netdev@...r.kernel.org>,
linux-m68k <linux-m68k@...ts.linux-m68k.org>,
Chris Zankel <chris@...kel.net>,
Max Filippov <jcmvbkbc@...il.com>,
"open list:TENSILICA XTENSA PORT (xtensa)"
<linux-xtensa@...ux-xtensa.org>
Subject: Re: [PATCH net-next 01/11] arch: use eth_hw_addr_set()
On Fri, Oct 1, 2021 at 11:32 PM Jakub Kicinski <kuba@...nel.org> wrote:
> Commit 406f42fa0d3c ("net-next: When a bond have a massive amount
> of VLANs...") introduced a rbtree for faster Ethernet address look
> up. To maintain netdev->dev_addr in this tree we need to make all
> the writes to it got through appropriate helpers.
>
> Convert misc arch drivers from memcpy(... ETH_ADDR) to eth_hw_addr_set():
>
> @@
> expression dev, np;
> @@
> - memcpy(dev->dev_addr, np, ETH_ALEN)
> + eth_hw_addr_set(dev, np)
>
> Signed-off-by: Jakub Kicinski <kuba@...nel.org>
> arch/m68k/emu/nfeth.c | 2 +-
Acked-by: Geert Uytterhoeven <geert@...ux-m68k.org>
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