diff options
| author | 2014-10-29 11:45:04 +0300 | |
|---|---|---|
| committer | 2014-10-29 10:34:34 -0400 | |
| commit | 9f295664e2f2cdf53c596f74bcf3f644cae9fecc (patch) | |
| tree | 31e986db37787dcc9758a68fd30261bd7adebd21 /tools/perf/scripts/python/sctop.py | |
| parent | Linux 3.18-rc2 (diff) | |
| download | wireguard-linux-9f295664e2f2cdf53c596f74bcf3f644cae9fecc.tar.xz wireguard-linux-9f295664e2f2cdf53c596f74bcf3f644cae9fecc.zip | |
percpu: off by one in BUG_ON()
The unit_map[] array has "nr_cpu_ids" number of elements. It's
allocated a few lines earlier in the function. So this test should be
>= instead of >.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions
