diff options
author | Roland Dreier <rolandd@cisco.com> | 2007-03-01 13:17:14 -0800 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-03-01 13:17:14 -0800 |
commit | 88171cfed5810a2354eb1977883589a05ce8d304 (patch) | |
tree | 3b6240f56d69f323c2e769a0b36340f73276a4f1 /drivers/infiniband/hw/cxgb3/iwch_cm.c | |
parent | IB/ehca: Fix sync between completion handler and destroy cq (diff) | |
download | linux-dev-88171cfed5810a2354eb1977883589a05ce8d304.tar.xz linux-dev-88171cfed5810a2354eb1977883589a05ce8d304.zip |
IB/mthca: Fix error path in mthca_alloc_memfree()
The garbled logic in mthca_alloc_memfree() causes it to return 0, even
if it fails to allocate all doorbell records. Fix it to return -ENOMEM
when it fails.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/cxgb3/iwch_cm.c')
0 files changed, 0 insertions, 0 deletions