aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorWill Deacon <[email protected]>2022-06-09 13:12:18 +0100
committerMarc Zyngier <[email protected]>2022-06-09 13:24:02 +0100
commitae187fec75aa670a551d9662f83e3947d3f02a69 (patch)
tree599b756248e97d2c09541a87a8b78e71b811b5a8 /include/linux/fpga/fpga-mgr.h
parentefedd01de475e126e43a07d0b1221bb65e497163 (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 <[email protected]> Signed-off-by: Will Deacon <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions