diff options
| author | Alex Elder <elder@linaro.org> | 2021-03-26 18:11:12 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-03-27 01:02:38 +0300 |
| commit | a749c6c03762f71ba4d04ead60b4f5df9ca2bf5e (patch) | |
| tree | b7a61eaa8156241e4cacffabc79fb19a4039ed82 /tools/perf/scripts/python/sched-migration.py | |
| parent | ee3e6beaa015ff1526440bf31f1782b6daa772da (diff) | |
| download | linux-a749c6c03762f71ba4d04ead60b4f5df9ca2bf5e.tar.xz | |
net: ipa: fix bug in resource group limit programming
If the number of resource groups supported by the hardware is less
than a certain number, we return early in ipa_resource_config_src()
and ipa_resource_config_dst() (to avoid programming resource limits
for non-existent groups).
Unfortunately, these checks are off by one. Fix this problem in the
four places it occurs.
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions
