git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3172679
)
IB/mthca: Fix error path in mthca_alloc_memfree()
author
Roland Dreier
<rolandd@cisco.com>
Thu, 1 Mar 2007 21:17:14 +0000
(13:17 -0800)
committer
Roland Dreier
<rolandd@cisco.com>
Thu, 1 Mar 2007 21:17:14 +0000
(13:17 -0800)
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>
No differences found