]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] IB/mthca: fix MR allocation error path
authorMichael S. Tsirkin <mst@mellanox.co.il>
Sat, 16 Apr 2005 22:26:19 +0000 (15:26 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 16 Apr 2005 22:26:19 +0000 (15:26 -0700)
commitbb87d233399ae3a44a29178c859532133ad8b606
tree71f40ef2b2a8e4d9d6885dc4f7bfbc6c43322889
parent95499afa4912a26e4dd9dae9758ec3e74a569de2
[PATCH] IB/mthca: fix MR allocation error path

Fix error handling in MR allocation for mem-free mode: mthca_free must get an
MR index, not a key.

Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <roland@topspin.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/infiniband/hw/mthca/mthca_mr.c