diff options
| author | Alex Elder <elder@linaro.org> | 2022-10-27 15:26:29 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2022-10-29 08:06:47 +0300 |
| commit | 2b87d721999a7591af7a63c1908084b1d59ba4e5 (patch) | |
| tree | d1cfac953dbcd68fd61faca50285be2274d509fa /tools/perf/scripts/python/flamegraph.py | |
| parent | bd5524930ba7c9ed914952da48a77f803f0b5011 (diff) | |
| download | linux-2b87d721999a7591af7a63c1908084b1d59ba4e5.tar.xz | |
net: ipa: more completely check endpoint validity
Ensure all defined TX endpoints are in the range [0, CONS_PIPES) and
defined RX endpoints are within [PROD_LOWEST, PROD_LOWEST+PROD_PIPES).
Modify the way local variables are used to make the checks easier
to understand. Check for each endpoint being in valid range in the
loop, and drop the logical-AND check of initialized against
unavailable IDs.
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
