aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/lantiq_xrx200.c
diff options
context:
space:
mode:
authorPetr Štetiar <ynezz@true.cz>2019-05-06 23:24:45 +0200
committerDavid S. Miller <davem@davemloft.net>2019-05-07 12:22:47 -0700
commit4974f9b7e0c90a751e9ec306701c49487e81625a (patch)
treef464689350d2aaa95f9c9cdba9ee4904c43570f1 /drivers/net/ethernet/lantiq_xrx200.c
parentnet: dsa: sja1105: Fix status initialization in sja1105_get_ethtool_stats (diff)
downloadlinux-dev-4974f9b7e0c90a751e9ec306701c49487e81625a.tar.xz
linux-dev-4974f9b7e0c90a751e9ec306701c49487e81625a.zip
net: dsa: support of_get_mac_address new ERR_PTR error
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 valid and checked by is_valid_ether_addr anyway. Fixes: d01f449c008a ("of_net: add NVMEM support to of_get_mac_address") Signed-off-by: Petr Štetiar <ynezz@true.cz> Tested-by: Vladimir Oltean <olteanv@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/lantiq_xrx200.c')
0 files changed, 0 insertions, 0 deletions