aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/nvme/host/fc.c
diff options
context:
space:
mode:
authorXiao Yang <yangx.jy@fujitsu.com>2021-06-21 15:14:56 +0800
committerJason Gunthorpe <jgg@nvidia.com>2021-06-21 21:05:02 -0300
commit20ec0a6d6016aa28b9b3299be18baef1a0f91cd2 (patch)
tree3a4f4f674d8999f07b5e2430081a8e89cdbba78e /drivers/nvme/host/fc.c
parentIB/mlx4: Avoid field-overflowing memcpy() (diff)
downloadlinux-dev-20ec0a6d6016aa28b9b3299be18baef1a0f91cd2.tar.xz
linux-dev-20ec0a6d6016aa28b9b3299be18baef1a0f91cd2.zip
RDMA/rxe: Don't overwrite errno from ib_umem_get()
rxe_mr_init_user() always returns the fixed -EINVAL when ib_umem_get() fails so it's hard for user to know which actual error happens in ib_umem_get(). For example, ib_umem_get() will return -EOPNOTSUPP when trying to pin pages on a DAX file. Return actual error as mlx4/mlx5 does. Link: https://lore.kernel.org/r/20210621071456.4259-1-ice_yangxiao@163.com Signed-off-by: Xiao Yang <yangx.jy@fujitsu.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/nvme/host/fc.c')
0 files changed, 0 insertions, 0 deletions