summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mlx5/Kconfig
diff options
context:
space:
mode:
authorMike Marciniszyn <mike.marciniszyn@intel.com>2014-03-07 14:32:31 +0100
committerRoland Dreier <roland@purestorage.com>2014-03-18 00:16:51 +0100
commitf8b6c47a44c063062317646683a73371c24c69ee (patch)
tree65a722aaa9409d9a320ece375e85d3118c80ec8a /drivers/infiniband/hw/mlx5/Kconfig
parentIB/ipath: Fix potential buffer overrun in sending diag packet routine (diff)
downloadlinux-f8b6c47a44c063062317646683a73371c24c69ee.tar.xz
linux-f8b6c47a44c063062317646683a73371c24c69ee.zip
IB/qib: Fix debugfs ordering issue with multiple HCAs
The debugfs init code was incorrectly called before the idr mechanism is used to get the unit number, so the dd->unit hasn't been initialized. This caused the unit relative directory creation to fail after the first. This patch moves the init for the debugfs stuff until after all of the failures and after the unit number has been determined. A bug in unwind code in qib_alloc_devdata() is also fixed. Cc: <stable@vger.kernel.org> Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx5/Kconfig')
0 files changed, 0 insertions, 0 deletions