summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2024-11-21 11:31:52 -0800
committerPaolo Abeni <pabeni@redhat.com>2024-11-26 11:01:39 +0100
commit9cc8d0ecdd2aad42e377e971e3bb114339df609e (patch)
tree8e8fc27ab016dfdd6183fdf1bfea1033544480f8 /tools/perf/scripts/python/libxed.py
parent82159e6ab409bd7c3de4fafdc27d64a58bcb154a (diff)
downloadlinux-9cc8d0ecdd2aad42e377e971e3bb114339df609e.tar.gz
linux-9cc8d0ecdd2aad42e377e971e3bb114339df609e.tar.bz2
linux-9cc8d0ecdd2aad42e377e971e3bb114339df609e.zip
net: mdio-ipq4019: add missing error check
If an optional resource is found but fails to remap, return on failure. Avoids any potential problems when using the iomapped resource as the assumption is that it's available. Fixes: 23a890d493e3 ("net: mdio: Add the reset function for IPQ MDIO driver") Signed-off-by: Rosen Penev <rosenp@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://patch.msgid.link/20241121193152.8966-1-rosenp@gmail.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions