Re: [PATCH v2] net: stmmac: move stmmac_check_ether_addr() to driver probe

2019-04-22 Thread David Miller
From: Vinod Koul Date: Mon, 22 Apr 2019 15:15:32 +0530 > stmmac_check_ether_addr() checks the MAC address and assigns one in > driver open(). In many cases when we create slave netdevice, the dev > addr is inherited from master but the master dev addr maybe NULL at > that time, so move this call

Re: [PATCH v2] net: stmmac: move stmmac_check_ether_addr() to driver probe

2019-04-22 Thread Andrew Lunn
On Mon, Apr 22, 2019 at 03:15:32PM +0530, Vinod Koul wrote: > stmmac_check_ether_addr() checks the MAC address and assigns one in > driver open(). In many cases when we create slave netdevice, the dev > addr is inherited from master but the master dev addr maybe NULL at > that time, so move this ca

[PATCH v2] net: stmmac: move stmmac_check_ether_addr() to driver probe

2019-04-22 Thread Vinod Koul
stmmac_check_ether_addr() checks the MAC address and assigns one in driver open(). In many cases when we create slave netdevice, the dev addr is inherited from master but the master dev addr maybe NULL at that time, so move this call to driver probe so that address is always valid. Signed-off-by: