Re: [PATCH -next] mlx5: use DEFINE_MUTEX (and mutex_init() had been too late)

From: Leon Romanovsky
Date: Thu Dec 24 2020 - 01:23:09 EST


On Wed, Dec 23, 2020 at 10:12:23PM +0800, Zheng Yongjun wrote:
> Signed-off-by: Zheng Yongjun <zhengyongjun3@xxxxxxxxxx>
> ---
> drivers/infiniband/hw/mlx5/main.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)

It is unclear what you wanted to achieve, because the commit message is
missing and subject doesn't help either.

Anyway, this code was changed in the commit f22c30aa6d27
("RDMA/mlx5: Move xlt_emergency_page_mutex into mr.c")

Thanks