summaryrefslogtreecommitdiff
path: root/drivers/atm/lanai.c
diff options
context:
space:
mode:
authorDoug Ledford <dledford@redhat.com>2016-06-06 23:52:55 (GMT)
committerDoug Ledford <dledford@redhat.com>2016-06-07 13:42:21 (GMT)
commit41aaa99fab6ceaa4b533c2b6ad4913987ddb3ddc (patch)
treeac82511a648fc9eab5c35010b39578a72aa779b7 /drivers/atm/lanai.c
parent55c40648d31d0d97608f266955b8afae74e2b686 (diff)
downloadlinux-41aaa99fab6ceaa4b533c2b6ad4913987ddb3ddc.tar.xz
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 'drivers/atm/lanai.c')
0 files changed, 0 insertions, 0 deletions