diff options
author | Madalin Bucur <madalin.bucur@nxp.com> | 2016-06-30 15:48:05 +0200 |
---|---|---|
committer | Madalin Bucur <madalin.bucur@nxp.com> | 2016-10-04 08:26:09 +0200 |
commit | 604104fc549a32ae928435a48de6761af13836ea (patch) | |
tree | d5afcb8349ff2fa9488a49b80c8d13a0672ee703 /drivers/net/ethernet/freescale/fman/fman.c | |
parent | fsl/fman: check pcsphy pointer before use (diff) | |
download | linux-604104fc549a32ae928435a48de6761af13836ea.tar.xz linux-604104fc549a32ae928435a48de6761af13836ea.zip |
fsl/fman: check of_get_phy_mode() return value
For unknown compatibles avoid crashing and default to SGMII.
Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
Diffstat (limited to 'drivers/net/ethernet/freescale/fman/fman.c')
0 files changed, 0 insertions, 0 deletions