aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorGuenter Roeck <[email protected]>2021-10-26 10:39:50 -0700
committerJakub Kicinski <[email protected]>2021-10-27 17:12:18 -0700
commit8db3cbc50748fe0990bfaa7dea113406b416e70b (patch)
tree8bb8b2f22cdcf995458ce9ca90ed555b3d10f673 /scripts/gdb/linux/lists.py
parent85c0c3eb9a6657887e3f7c5140e38f529c815ee0 (diff)
net: macb: Fix mdio child node detection
Commit 4d98bb0d7ec2 ("net: macb: Use mdio child node for MDIO bus if it exists") added code to detect if a 'mdio' child node exists to the macb driver. Ths added code does, however, not actually check if the child node exists, but if the parent node exists. This results in errors such as macb 10090000.ethernet eth0: Could not attach PHY (-19) if there is no 'mdio' child node. Fix the code to actually check for the child node. Fixes: 4d98bb0d7ec2 ("net: macb: Use mdio child node for MDIO bus if it exists") Cc: Andrew Lunn <[email protected]> Signed-off-by: Guenter Roeck <[email protected]> Reviewed-by: Sean Anderson <[email protected]> Tested-by: Claudiu Beznea <[email protected]> Acked-by: Nicolas Ferre <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions