1
0
Files
linux/drivers/infiniband/hw/mthca
Olaf Kirch 2c78853472 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>
2008-02-04 20:20:44 -08:00
..
2007-07-09 20:12:26 -07:00
2006-11-22 14:57:56 +00:00
2006-04-10 09:43:47 -07:00
2006-11-29 15:33:06 -08:00
2006-11-29 15:33:06 -08:00
2006-11-29 15:33:06 -08:00