diff options
| author | Claudiu Manoil <[email protected]> | 2013-12-10 15:21:04 +0200 |
|---|---|---|
| committer | Joe Hershberger <[email protected]> | 2015-01-30 15:55:00 -0600 |
| commit | 7f233c05573fabe8ff1ed7f22c269cdfdfc30529 (patch) | |
| tree | 8e43d3d7147bdc9ebdba2f8218461e30e0623f6d /tools/microcode-tool.py | |
| parent | 2af13d6b6265a6700c4f65597410b769895024bf (diff) | |
net: tsec: Fix NULL access in case init_phy() fails
If the PHY is not recognized don't access phydev (NULL)
and return 0 to signal failure.
Signed-off-by: Claudiu Manoil <[email protected]>
Signed-off-by: Joe Hershberger <[email protected]>
Diffstat (limited to 'tools/microcode-tool.py')
0 files changed, 0 insertions, 0 deletions
