summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorHeiko Schocher <[email protected]>2013-09-05 11:50:41 +0200
committerTom Rini <[email protected]>2013-09-20 16:57:40 -0400
commit93ff25529898b931b5000c6e9ec9d7325f2ec414 (patch)
treee809dff00799bd968e0ec0f5de3b7a60ad4a6927 /include/linux
parente22cc0cf137149bea3a06bb29ffe06e82d8edb84 (diff)
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 <[email protected]> Cc: Joe Hershberger <[email protected]> Cc: Mugunthan V N <[email protected]> Cc: Tom Rini <[email protected]> Acked-by: Mugunthan V N <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions