diff options
| author | Daniel Golle <daniel@makrotopia.org> | 2026-08-04 04:10:33 +0100 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-08-07 16:38:49 -0700 |
| commit | 573d6e3afe3d01e34dc82c77bf22ca96a74d805e (patch) | |
| tree | d5bc46aaf1b1d45b3c649919ecf8708f9fe00597 /tools/perf/scripts/python/task-analyzer.py | |
| parent | 5cc65c01cdc577621d1320f4aa03a1382c5a4a45 (diff) | |
net: dsa: mt7530: check bus->read() error in core_rmw()
core_rmw() accesses the MMD core registers directly rather than
through the regmap and has the same unchecked bus->read() as the
one just fixed in the MDIO regmap backend: a negative errno is
consumed as register data, modified and written back to the switch.
Check the read and bail out like the surrounding bus accesses do.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/48bb9f0b311a9efeda2a6b24a7e05d4792393a3b.1785811140.git.daniel@makrotopia.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
