[PATCH net-next v2 2/4] net: dsa: support of_get_mac_address new ERR_PTR error

2019-05-06 Thread Petr Štetiar
There was NVMEM support added to of_get_mac_address, so it could now return ERR_PTR encoded error values, so we need to adjust all current users of of_get_mac_address to this new fact. While at it, remove superfluous is_valid_ether_addr as the MAC address returned from of_get_mac_address is always

Re: [PATCH net-next v2 2/4] net: dsa: support of_get_mac_address new ERR_PTR error

2019-05-07 Thread Vladimir Oltean
On Tue, 7 May 2019 at 00:26, Petr Štetiar wrote: > > There was NVMEM support added to of_get_mac_address, so it could now > return ERR_PTR encoded error values, so we need to adjust all current > users of of_get_mac_address to this new fact. > > While at it, remove superfluous is_valid_ether_addr