diff options
author | Selvin Xavier <selvin.xavier@broadcom.com> | 2016-02-05 20:06:37 +0530 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-02-05 15:14:27 -0500 |
commit | fd98d89698855f6cf5650c014e5d3fca38783c8b (patch) | |
tree | 5726300e584bfa0b6bc8b003cda389cbc7ed8165 /mm/debug.c | |
parent | 9f780dab7fb5618ee8bacbf6f91832374231c30c (diff) | |
download | linux-fd98d89698855f6cf5650c014e5d3fca38783c8b.tar.gz linux-fd98d89698855f6cf5650c014e5d3fca38783c8b.tar.bz2 linux-fd98d89698855f6cf5650c014e5d3fca38783c8b.zip |
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 <selvin.xavier@broadcom.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'mm/debug.c')
0 files changed, 0 insertions, 0 deletions