diff options
author | 2021-09-03 16:48:15 +0800 | |
---|---|---|
committer | 2021-10-01 11:40:07 -0300 | |
commit | 49b99314b49ef95b5a6f3bd9f0fc8912cfd10a9f (patch) | |
tree | 6f65f86dcbda6c770559520972581b2af9e8a81b /drivers/infiniband/sw/rxe/rxe_param.h | |
parent | Merge branch 'mlx5-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux (diff) | |
download | linux-dev-49b99314b49ef95b5a6f3bd9f0fc8912cfd10a9f.tar.xz linux-dev-49b99314b49ef95b5a6f3bd9f0fc8912cfd10a9f.zip |
IB/mlx5: Flow through a more detailed return code from get_prefetchable_mr()
The error returns for various cases detected by get_prefetchable_mr() get
confused as it flows back to userspace. Properly label each error path and
flow the error code properly back to the system call.
Link: https://lore.kernel.org/r/20210928170846.GA1721590@nvidia.com
Suggested-by: Li Zhijian <lizhijian@cn.fujitsu.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/sw/rxe/rxe_param.h')
0 files changed, 0 insertions, 0 deletions