summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorYury Norov <yury.norov@gmail.com>2022-09-19 14:05:54 -0700
committerYury Norov <yury.norov@gmail.com>2022-10-01 10:22:57 -0700
commit854701ba4c39afae2362ba19a580c461cb183e4f (patch)
treedbfd1fc606cb607542cdcb61c2b1c9e56f41c81a /tools/perf/scripts/python
parent944c417daeb63fa345fe0f754c57a5a23ca6d701 (diff)
net: fix cpu_max_bits_warn() usage in netif_attrmask_next{,_and}
The functions require to be passed with a cpu index prior to one that is the first to start search, so the valid input range is [-1, nr_cpu_ids-1). However, the code checks against [-1, nr_cpu_ids). Acked-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Yury Norov <yury.norov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions