diff options
| author | 2025-07-30 07:40:18 +0000 | |
|---|---|---|
| committer | 2025-08-08 23:03:58 -0100 | |
| commit | f768ebbba9110846c9f986a96109d70154d60b5d (patch) | |
| tree | 511550e77255eb1463ae00f46d3425b6a78e9664 /drivers/cdx/controller/cdx_controller.c | |
| parent | drm/i915/selftests: Do not overwrite error code after intel_context_migrate_clear() call (diff) | |
| download | linux-rng-f768ebbba9110846c9f986a96109d70154d60b5d.tar.xz linux-rng-f768ebbba9110846c9f986a96109d70154d60b5d.zip | |
drm/i915/selftests: Do not leak vm_area_struct on early return
This structure may be leaked on early failure paths, so include
vm_munmap() call in them to avoid that.
Suggested-by: Chris Wilson <chris.p.wilson@linux.intel.com>
Signed-off-by: Krzysztof Karas <krzysztof.karas@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://lore.kernel.org/r/d8277e3af09c388fa5dfbf5c9bb3985ae0b191a2.1753859971.git.krzysztof.karas@intel.com
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions
