aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorArun Ramadoss <[email protected]>2022-09-22 12:40:25 +0530
committerJakub Kicinski <[email protected]>2022-09-26 12:41:07 -0700
commit68ccceaef0b46935e805f4c1cfd20b6af0e6fc77 (patch)
tree783fbcfdb6805736e2dfbac1f604c20c8d1472fa /tools/perf/scripts/python/net_dropmonitor.py
parentabc1cb8cbd7376a2f856e64986ee5ce0849d974b (diff)
net: dsa: microchip: lan937x: return zero if mdio node not present
Currently, if the mdio node is not present in the dts file then lan937x_mdio_register return -ENODEV and entire probing process fails. To make the mdio_register generic for all ksz series switches and to maintain back-compatibility with existing dts file, return -ENODEV is replaced with return 0. Signed-off-by: Arun Ramadoss <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions