diff options
author | Linus Walleij <[email protected]> | 2022-08-23 15:57:00 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-08-23 17:47:16 +0100 |
commit | b7059927c3e32c96d2ff50c206549d8fac0ba69e (patch) | |
tree | 708ebd0db948c50b25c1fe9bd6ee9aa4ce36693f /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
parent | 026c99b508f060d3c85fda06b21e010683ef5590 (diff) |
regmap: check right noinc bounds in debug print
We were using the wrong bound in the debug prints: this
needs to be the number of elements, not the number of bytes,
since we're indexing into an element-size typed array.
Fixes: c20cc099b30a ("regmap: Support accelerated noinc operations")
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions