[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201001.190539.943246074133907153.davem@davemloft.net>
Date: Thu, 01 Oct 2020 19:05:39 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: l.stelmach@...sung.com
Cc: steve.glendinning@...well.net, UNGLinuxDriver@...rochip.com,
kuba@...nel.org, netdev@...r.kernel.org, linux-usb@...r.kernel.org,
b.zolnierkie@...sung.com, m.szyprowski@...sung.com
Subject: Re: [PATCH] net/smscx5xx: change to of_get_mac_address()
eth_platform_get_mac_address()
From: ¨©ukasz Stelmach <l.stelmach@...sung.com>
Date: Wed, 30 Sep 2020 16:25:25 +0200
> Use more generic eth_platform_get_mac_address() which can get a MAC
> address from other than DT platform specific sources too. Check if the
> obtained address is valid.
>
> Signed-off-by: ¨©ukasz Stelmach <l.stelmach@...sung.com>
Failure to probe a MAC address should result in the selection of a
random one. This way, the interface still comes up and is usable
even when the MAC address fails to be probed.
Powered by blists - more mailing lists