diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2022-08-23 16:57:00 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-08-23 19:47:16 +0300 |
commit | b7059927c3e32c96d2ff50c206549d8fac0ba69e (patch) | |
tree | 708ebd0db948c50b25c1fe9bd6ee9aa4ce36693f /tools/perf/scripts/python | |
parent | 026c99b508f060d3c85fda06b21e010683ef5590 (diff) | |
download | linux-b7059927c3e32c96d2ff50c206549d8fac0ba69e.tar.xz |
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 <dan.carpenter@oracle.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20220823135700.265019-1-linus.walleij@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions