diff options
author | Krzysztof Karas <krzysztof.karas@intel.com> | 2025-07-30 07:40:18 +0000 |
---|---|---|
committer | Andi Shyti <andi.shyti@kernel.org> | 2025-08-08 23:03:58 -0100 |
commit | f768ebbba9110846c9f986a96109d70154d60b5d (patch) | |
tree | 511550e77255eb1463ae00f46d3425b6a78e9664 /rust/helpers/bitops.c | |
parent | c4d0f59ded1efbf0004dfdfffb9050caba234993 (diff) |
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 'rust/helpers/bitops.c')
0 files changed, 0 insertions, 0 deletions