On Sat, 19 Nov 2022 15:08:34 +0800, Zhengchao Shao wrote: > When hns_roce_mr_enable() failed in hns_roce_alloc_mr(), mr_key is not > released. Compiled test only. > > Applied, thanks! [1/1] RDMA/hns: fix memory leak in hns_roce_alloc_mr() https://git.kernel.org/rdma/rdma/c/a115aa00b18f7b Best regards, -- Leon Romanovsky <leon@xxxxxxxxxx>