diff options
author | Weihang Li <liweihang@huawei.com> | 2020-11-12 19:29:42 +0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2020-11-12 13:33:44 -0400 |
commit | 7af80c02c7b3cf7ac580a33f15d155730574769f (patch) | |
tree | ec0a8c8cbf280efb7a459f2c7ccac6af763ff4bd /drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | |
parent | 22dd4c707673129ed17e803b4bf68a567b2731db (diff) |
RDMA/hns: Fix double free of the pointer to TSQ/TPQ
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")
Link: https://lore.kernel.org/r/1605180582-46504-1-git-send-email-liweihang@huawei.com
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c')
0 files changed, 0 insertions, 0 deletions