Home
last modified time | relevance | path

Searched hist:d1616f07e8f1a4a490d1791316d4a68906b284aa (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/net/ethernet/freescale/
H A Dfec_main.cdiff d1616f07e8f1a4a490d1791316d4a68906b284aa Thu Jan 04 03:47:20 CET 2018 Fugang Duan <fugang.duan@nxp.com> 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>