Home
last modified time | relevance | path

Searched hist:"41 aaa99f" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/infiniband/core/
H A Dsysfs.c41aaa99f Mon Jun 06 18:52:55 CDT 2016 Doug Ledford <dledford@redhat.com> 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>
41aaa99f Mon Jun 06 18:52:55 CDT 2016 Doug Ledford <dledford@redhat.com> 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>