[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8cd71dd4-5889-ed8c-1ef2-5baf63645f6c@gmail.com>
Date: Wed, 13 Oct 2021 19:27:59 -0700
From: Florian Fainelli <f.fainelli@...il.com>
To: Jakub Kicinski <kuba@...nel.org>, davem@...emloft.net
Cc: netdev@...r.kernel.org, nicolas.ferre@...rochip.com,
claudiu.beznea@...rochip.com, petkan@...leusys.com,
christophe.jaillet@...adoo.fr, zhangchangzhong@...wei.com,
linux-usb@...r.kernel.org
Subject: Re: [PATCH net-next 4/7] ethernet: manually convert
memcpy(dev_addr,..., sizeof(addr))
On 10/13/2021 1:44 PM, Jakub Kicinski wrote:
> A handful of drivers use sizeof(addr) for the size of
> the address, after manually confirming the size is
> indeed 6 convert them to eth_hw_addr_set().
>
> Signed-off-by: Jakub Kicinski <kuba@...nel.org>
> ---
> CC: nicolas.ferre@...rochip.com
> CC: claudiu.beznea@...rochip.com
> CC: f.fainelli@...il.com
> CC: petkan@...leusys.com
> CC: christophe.jaillet@...adoo.fr
> CC: zhangchangzhong@...wei.com
> CC: linux-usb@...r.kernel.org
> ---
> drivers/net/ethernet/ti/cpmac.c | 2 +-
Acked-by: Florian Fainelli <f.fainelli@...il.com>
--
Florian
Powered by blists - more mailing lists