On Thu, Nov 12, 2020 at 07:29:42PM +0800, Weihang Li wrote: > A return statement is omitted after getting HEM table, then the newly > allocated pointer will be freed directly, which will cause a calltrace when > the driver was removed. > > Fixes: d6d91e46210f ("RDMA/hns: Add support for configuring GMV table") > Signed-off-by: Weihang Li <liweihang@xxxxxxxxxx> > --- > drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 2 ++ > 1 file changed, 2 insertions(+) Applied to for-next, thanks Jason