aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/Kconfig
diff options
context:
space:
mode:
authorOlaf Kirch <olaf.kirch@oracle.com>2008-02-04 20:20:44 -0800
committerRoland Dreier <rolandd@cisco.com>2008-02-04 20:20:44 -0800
commit2c78853472a36c7cf51a84a34edc370e21c93ce4 (patch)
treea89ab43cc596415f80e434470595fcbb4f8e7544 /drivers/infiniband/Kconfig
parentIB: Avoid marking __devinitdata as const (diff)
downloadlinux-dev-2c78853472a36c7cf51a84a34edc370e21c93ce4.tar.xz
linux-dev-2c78853472a36c7cf51a84a34edc370e21c93ce4.zip
IB/mthca: Return proper error codes from mthca_fmr_alloc()
If the allocation of the MTT or the mailbox failed, mthca_fmr_alloc() would return 0 (success) no matter what. This leads to crashes a little down the road, when we try to dereference eg mr->mtt, which was really ERR_PTR(-Ewhatever). Signed-off-by: Olaf Kirch <olaf.kirch@oracle.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions