[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20201227055824.GA4457@unreal>
Date: Sun, 27 Dec 2020 07:58:24 +0200
From: Leon Romanovsky <leon@...nel.org>
To: Zheng Yongjun <zhengyongjun3@...wei.com>
Cc: linux-rdma@...r.kernel.org, linux-kernel@...r.kernel.org,
dledford@...hat.com, jgg@...pe.ca
Subject: Re: [PATCH v2 -next] mlx5: use DEFINE_MUTEX() for mutex lock
On Thu, Dec 24, 2020 at 09:23:23PM +0800, Zheng Yongjun wrote:
> mutex lock can be initialized automatically with DEFINE_MUTEX()
> rather than explicitly calling mutex_init().
>
> Signed-off-by: Zheng Yongjun <zhengyongjun3@...wei.com>
> ---
> drivers/infiniband/hw/mlx5/main.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
As I wrote earlier, this patch can't be applied, because the xlt_emergency_page_mutex
mutex was moved in the commit f22c30aa6d27 ("RDMA/mlx5: Move xlt_emergency_page_mutex into mr.c")
Thanks
Powered by blists - more mailing lists