aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorDaniel Mack <[email protected]>2021-03-24 14:05:36 +0100
committerDavid S. Miller <[email protected]>2021-03-25 16:49:40 -0700
commitde9c7854e6e1589f639c6352112956d08243b659 (patch)
tree10a55d219430fbc6e19977dc546a1349f672d5e3 /scripts/gdb/linux/tasks.py
parent479dc497db8322ae486f8ee49020f5600a77a680 (diff)
net: axienet: allow setups without MDIO
In setups with fixed-link settings there is no mdio node in DTS. axienet_probe() already handles that gracefully but lp->mii_bus is then NULL. Fix code that tries to blindly grab the MDIO lock by introducing two helper functions that make the locking conditional. Signed-off-by: Daniel Mack <[email protected]> Reviewed-by: Radhey Shyam Pandey <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions