mirror of
https://github.com/genesi/linux-legacy.git
synced 2026-10-29 08:12:54 +00:00
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>