diff options
| author | Ioana Ciornei <[email protected]> | 2019-05-28 20:38:09 +0300 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-05-29 21:48:53 -0700 |
| commit | 82c76aca81187b3d28a6fb3062f6916450ce955e (patch) | |
| tree | 9e3ed72f28425e9b3c3910eab392a6361975c8b6 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 2db2d9d1ac37222cd9cd9b59bfd7f9cea3bd2457 (diff) | |
net: phy: Check against net_device being NULL
In general, we don't want MAC drivers calling phy_attach_direct with the
net_device being NULL. Add checks against this in all the functions
calling it: phy_attach() and phy_connect_direct().
Signed-off-by: Ioana Ciornei <[email protected]>
Suggested-by: Andrew Lunn <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions