diff options
| author | Tharit Tangkijwanichakul <tharitt97@gmail.com> | 2026-09-06 03:41:43 +0000 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2026-09-14 13:01:01 +0100 |
| commit | bb6c7d2bf564cdaa24b14764b7126f5cab45965a (patch) | |
| tree | fa0919d0cb22e13853a2c40c395246777a36fec5 /tools/perf/scripts/python/stackcollapse.py | |
| parent | fd73f4a6659897191fa0d40695fe370925dd3780 (diff) | |
KVM: arm64: selftests: Fix VM leak in early return
test_mmio_ease() returns early and skips the call to kvm_vm_free() when
ID_AA64PFR1_EL1 is not available.
Use a goto so that the early return joins the common exit path.
Reported-by: Gokul K <gokul02k@gmail.com>
Link: https://lore.kernel.org/all/20260808081050.408657-1-gokul02k@gmail.com/
Fixes: a90aac553249 ("KVM: arm64: selftests: Test SEAs are taken to SError vector when EASE=1")
Signed-off-by: Tharit Tangkijwanichakul <tharitt97@gmail.com>
Link: https://patch.msgid.link/20260906034144.14059-1-tharitt97@gmail.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
