Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 64b1c2b4 authored by Herbert Valerio Riedel's avatar Herbert Valerio Riedel Committed by Stephen Hemminger
Browse files

phy: mdiobus_register(): initialize all phy_map entries



make sure phy_map entries whose PHY address is masked are initialized
to NULL, given that other code (such as mdiobus_unregister for
instance) assumes that non-NULL phy_map entries are allocated
phy_devices

Signed-off-by: default avatarHerbert Valerio Riedel <hvr@gnu.org>
Signed-off-by: default avatarStephen Hemminger <shemminger@osdl.org>
parent f4ea431b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment