diff options
author | Fugang Duan <fugang.duan@nxp.com> | 2018-01-04 05:47:20 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-05 19:19:11 +0300 |
commit | d1616f07e8f1a4a490d1791316d4a68906b284aa (patch) | |
tree | 014c629a46f8cdf4cd4a8fbd702fd56494d3efc6 /include/linux/sh_eth.h | |
parent | f737be8d61f251d2c1632f871ba824aa5a512384 (diff) | |
download | linux-d1616f07e8f1a4a490d1791316d4a68906b284aa.tar.xz |
net: fec: free/restore resource in related probe error pathes
Fixes in probe error path:
- Restore dev_id before failed_ioremap path.
Fixes: ("net: fec: restore dev_id in the cases of probe error")
- Call of_node_put(phy_node) before failed_phy path.
Fixes: ("net: fec: Support phys probed from devicetree and fixed-link")
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/sh_eth.h')
0 files changed, 0 insertions, 0 deletions