summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/ibm/emac/core.c
diff options
context:
space:
mode:
authorSean Wang <sean.wang@mediatek.com>2016-09-22 16:44:16 +0800
committerDavid S. Miller <davem@davemloft.net>2016-09-22 08:22:28 -0400
commitf6f7d9c03f5daae04449ad19de5e2f0c20c5eaac (patch)
treeb1a78b9d77b5e806ca9ad88a4fa3c3f5aeb35502 /drivers/net/ethernet/ibm/emac/core.c
parent3e60b748fd2f50bbdb6a61fdd48222cd492c77e3 (diff)
downloadlinux-f6f7d9c03f5daae04449ad19de5e2f0c20c5eaac.tar.gz
linux-f6f7d9c03f5daae04449ad19de5e2f0c20c5eaac.tar.bz2
linux-f6f7d9c03f5daae04449ad19de5e2f0c20c5eaac.zip
net: ethernet: mediatek: get out of potential invalid pointer access
Potential dangerous invalid pointer might be accessed if the error happens when couple phy_device to net_device so cleanup the error path. Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ibm/emac/core.c')
0 files changed, 0 insertions, 0 deletions