]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
gianfar: Handle error code at MAC address change
authorClaudiu Manoil <claudiu.manoil@nxp.com>
Mon, 29 Mar 2021 14:08:47 +0000 (17:08 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Mar 2021 20:45:41 +0000 (13:45 -0700)
commitbff5b62585123823842833ab20b1c0a7fa437f8c
treeafd018465606c7a8160598fdb6fb5c8c4a3df1ac
parent63415767a2446136372e777cde5bb351f21ec21d
gianfar: Handle error code at MAC address change

Handle return error code of eth_mac_addr();

Fixes: 3d23a05c75c7 ("gianfar: Enable changing mac addr when if up")
Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/gianfar.c