Skip to content
Commit 32b9a52f authored by Danilo Krummrich's avatar Danilo Krummrich Committed by Oliver Upton
Browse files

KVM: arm64: free kvm->arch.nested_mmus with kvfree()



kvm->arch.nested_mmus is allocated with kvrealloc(), hence free it with
kvfree() instead of kfree().

Fixes: 4f128f8e ("KVM: arm64: nv: Support multiple nested Stage-2 mmu structures")
Signed-off-by: default avatarDanilo Krummrich <dakr@kernel.org>
Reviewed-by: default avatarMarc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20240723142204.758796-1-dakr@kernel.org


Signed-off-by: default avatarOliver Upton <oliver.upton@linux.dev>
parent 8400291e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment