diff options
author | Moti Haimovski <mhaimovski@habana.ai> | 2023-04-16 18:36:17 +0300 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2023-06-08 12:35:55 +0300 |
commit | 314a7ffd7c196b27eedd50cb7553029e17789b55 (patch) | |
tree | 711ba03ea4e69ae707bae7d8bb54d864f0335840 /drivers/usb/cdns3/cdns3-plat.c | |
parent | e715008b7c318fb1901a37bdd0941fb46c2b90b5 (diff) |
accel/habanalabs: fix mem leak in capture user mappings
This commit fixes a memory leak caused when clearing the user_mappings
info when a new context is opened immediately after user_mapping is
captured and a hard reset is performed.
Signed-off-by: Moti Haimovski <mhaimovski@habana.ai>
Reviewed-by: Dani Liberman <dliberman@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-plat.c')
0 files changed, 0 insertions, 0 deletions