[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200808.142738.431277384120054736.davem@davemloft.net>
Date: Sat, 08 Aug 2020 14:27:38 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: thierry.reding@...il.com
Cc: kuba@...nel.org, linux-usb@...r.kernel.org, netdev@...r.kernel.org,
linux-tegra@...r.kernel.org, ejh@...dia.com
Subject: Re: [PATCH net] r8152: Use MAC address from correct device tree
node
From: Thierry Reding <thierry.reding@...il.com>
Date: Fri, 7 Aug 2020 09:36:32 +0200
> From: Thierry Reding <treding@...dia.com>
>
> Query the USB device's device tree node when looking for a MAC address.
> The struct device embedded into the struct net_device does not have a
> device tree node attached at all.
>
> The reason why this went unnoticed is because the system where this was
> tested was one of the few development units that had its OTP programmed,
> as opposed to production systems where the MAC address is stored in a
> separate EEPROM and is passed via device tree by the firmware.
>
> Reported-by: EJ Hsu <ejh@...dia.com>
> Fixes: acb6d3771a03 ("r8152: Use MAC address from device tree if available")
> Signed-off-by: Thierry Reding <treding@...dia.com>
Applied, thank you.
Powered by blists - more mailing lists