diff options
author | 2021-06-09 15:10:04 +0200 | |
---|---|---|
committer | 2021-06-14 15:00:29 +0100 | |
commit | 0df0240946b1ffbe852fa302c04c0d322229c9ce (patch) | |
tree | 1519d877e958cc96e928fc74b34d429568b4302c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | regmap: mdio: Fix regmap_bus pointer constness (diff) | |
download | linux-dev-0df0240946b1ffbe852fa302c04c0d322229c9ce.tar.xz linux-dev-0df0240946b1ffbe852fa302c04c0d322229c9ce.zip |
regmap: mdio: Reject invalid addresses
When an invalid register offset is provided, the upper bits are silently
discarded. Change this to return -ENXIO instead, to help catch potential
bugs.
Signed-off-by: Sander Vanheule <sander@svanheule.net>
Link: https://lore.kernel.org/r/047007e0e9fb596480829f11f8c7e6281d235c70.1623244066.git.sander@svanheule.net
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions