android_kernel_xiaomi_sm8350/drivers/infiniband
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
..
core IB/fmr_pool: Allocate page list for pool FMRs only when caching enabled 2008-02-04 20:20:44 -08:00
hw IB/mthca: Return proper error codes from mthca_fmr_alloc() 2008-02-04 20:20:44 -08:00
ulp IB/srp: Retry stale connections 2008-02-04 20:20:43 -08:00
Kconfig IB: Use menuconfig for InfiniBand menu 2007-07-09 20:12:26 -07:00
Makefile IB/mlx4: Add a driver Mellanox ConnectX InfiniBand adapters 2007-05-08 18:00:38 -07:00