|author||Selvin Xavier <firstname.lastname@example.org>||2016-02-05 20:06:37 +0530|
|committer||Doug Ledford <email@example.com>||2016-02-05 15:14:27 -0500|
|parent||IB/sysfs: remove unused va_list args (diff)|
RDMA/ocrdma: Initialize stats resources in the driver before ib device registration.
In the latest kernel, process_mad hook of the driver can be invoked as soon as device is registered. In this hook, ocrdma driver is issuing a command to get the stats counters from the HW. This is triggering system crash since the statistics command resources are not allocated by the driver. Changing the sequence of initialization to avoid this crash. Signed-off-by: Selvin Xavier <firstname.lastname@example.org> Signed-off-by: Doug Ledford <email@example.com>
Diffstat (limited to 'drivers/infiniband/hw/cxgb3/cxio_dbg.c')
0 files changed, 0 insertions, 0 deletions