mirror of https://github.com/torvalds/linux.git
In the prueth_probe() function, if one of the calls to emac_phy_connect()
fails due to of_phy_connect() returning NULL, then the subsequent call to
phy_attached_info() will dereference a NULL pointer.
Check the return code of emac_phy_connect and fail cleanly if there is an
error.
Fixes:
|
||
|---|---|---|
| .. | ||
| icss_iep.c | ||
| icss_iep.h | ||
| icssg_classifier.c | ||
| icssg_common.c | ||
| icssg_config.c | ||
| icssg_config.h | ||
| icssg_ethtool.c | ||
| icssg_mii_cfg.c | ||
| icssg_mii_rt.h | ||
| icssg_prueth.c | ||
| icssg_prueth.h | ||
| icssg_prueth_sr1.c | ||
| icssg_queues.c | ||
| icssg_stats.c | ||
| icssg_stats.h | ||
| icssg_switch_map.h | ||