diff options
author | 2016-06-06 19:52:55 -0400 | |
---|---|---|
committer | 2016-06-07 09:42:21 -0400 | |
commit | 41aaa99fab6ceaa4b533c2b6ad4913987ddb3ddc (patch) | |
tree | ac82511a648fc9eab5c35010b39578a72aa779b7 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | IB/hfi1: Suppress sparse warnings (diff) | |
download | wireguard-linux-41aaa99fab6ceaa4b533c2b6ad4913987ddb3ddc.tar.xz wireguard-linux-41aaa99fab6ceaa4b533c2b6ad4913987ddb3ddc.zip |
IB/core: Fix array length allocation
The new sysfs hw_counters code had an off by one in its array allocation
length. Fix that and the comment along with it.
Reported-by: Mark Bloch <markb@mellanox.com>
Fixes: b40f4757daa1 (IB/core: Make device counter infrastructure
dynamic)
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions