commit | 41aaa99fab6ceaa4b533c2b6ad4913987ddb3ddc | [log] [tgz] |
---|---|---|
author | Doug Ledford <dledford@redhat.com> | Mon Jun 06 19:52:55 2016 -0400 |
committer | Doug Ledford <dledford@redhat.com> | Tue Jun 07 09:42:21 2016 -0400 |
tree | ac82511a648fc9eab5c35010b39578a72aa779b7 | |
parent | 55c40648d31d0d97608f266955b8afae74e2b686 [diff] |
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>