diff options
| author | Haoxiang Li <haoxiang_li2024@163.com> | 2026-11-18 18:20:12 +0800 |
|---|---|---|
| committer | Madhavan Srinivasan <maddy@linux.ibm.com> | 2026-11-20 13:25:17 +0530 |
| commit | e721359e5ad0292d93bb9779c4b09fbeb681c266 (patch) | |
| tree | e31eac98b407a5526ffe4fc37ff6887ead6ad40e /tools/perf/scripts/python | |
| parent | d836398542f1e11a8b5191f9e50c0e4ee9b0b13b (diff) | |
KVM: PPC: Book3S HV: Clean up on uvmem initialization failure
When kvmppc_uvmem_init() fails, kvmppc_book3s_init_hv() returns
directly, bypassing the existing error path. Jump to the existing
error path to clean up before returning the error.
Fixes: 175be7e5800e ("KVM: PPC: Book3S HV: Free allocated memory if module init fails")
Signed-off-by: Haoxiang Li <haoxiang_li2024@163.com>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20261118102012.2252221-1-haoxiang_li2024@163.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
