From: Leon Romanovsky <leonro@xxxxxxxxxxxx> Hi, The following patches are outcome of [1] and was my immediate attempt to clean MR rereg path. First patch fixes bug which was discovered during code inspection and is not supported by real failure, so I decided to send it as part of this series. In order to avoid from merge conflicts it should be applied after [1] and [2]. [1] https://patchwork.kernel.org/patch/10277183/ [2] https://patchwork.kernel.org/patch/10278687/ Leon Romanovsky (5): RDMA/mlx5: Protect from NULL pointer derefence RDMA/mlx5: Return proper value for not-supported command RDMA/mlx5: Unify error flows in rereg MR failure paths RDMA/mlx5: Guard ODP specific assignments with specific CONFIG RDMA/mlx5: Simplify clean and destroy MR calls drivers/infiniband/hw/mlx5/mr.c | 80 ++++++++++++++++++----------------------- 1 file changed, 35 insertions(+), 45 deletions(-) -- 2.14.3 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html