diff options
author | Will Deacon <will@kernel.org> | 2022-06-09 13:12:18 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2022-06-09 13:24:02 +0100 |
commit | ae187fec75aa670a551d9662f83e3947d3f02a69 (patch) | |
tree | 599b756248e97d2c09541a87a8b78e71b811b5a8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | efedd01de475e126e43a07d0b1221bb65e497163 (diff) |
KVM: arm64: Return error from kvm_arch_init_vm() on allocation failure
If we fail to allocate the 'supported_cpus' cpumask in kvm_arch_init_vm()
then be sure to return -ENOMEM instead of success (0) on the failure
path.
Reviewed-by: Alexandru Elisei <alexandru.elisei@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220609121223.2551-2-will@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions