summaryrefslogtreecommitdiff
path: root/net/cdp.c
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2013-09-05 09:50:41 (GMT)
committerTom Rini <trini@ti.com>2013-09-20 20:57:40 (GMT)
commit93ff25529898b931b5000c6e9ec9d7325f2ec414 (patch)
treee809dff00799bd968e0ec0f5de3b7a60ad4a6927 /net/cdp.c
parente22cc0cf137149bea3a06bb29ffe06e82d8edb84 (diff)
downloadu-boot-fsl-qoriq-93ff25529898b931b5000c6e9ec9d7325f2ec414.tar.xz
net, phy, cpsw: fix NULL pointer deference
if phy_connect() did not find a phy, phydev is NULL and following code in cpsw_phy_init() crashes. Fix this. Signed-off-by: Heiko Schocher <hs@denx.de> Cc: Joe Hershberger <joe.hershberger@gmail.com> Cc: Mugunthan V N <mugunthanvnm@ti.com> Cc: Tom Rini <trini@ti.com> Acked-by: Mugunthan V N <mugunthanvnm@ti.com>
Diffstat (limited to 'net/cdp.c')
0 files changed, 0 insertions, 0 deletions