Commit ff2a278c authored by YueHaibing's avatar YueHaibing Committed by Will Deacon
Browse files

UPSTREAM: KVM: arm64: Change the return type of kvm_vcpu_preferred_target()



kvm_vcpu_preferred_target() always return 0 because kvm_target_cpu()
never returns a negative error code.

Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Reviewed-by: default avatarAlexandru Elisei <alexandru.elisei@arm.com>
Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20211105011500.16280-1-yuehaibing@huawei.com


(cherry picked from commit 08e873cb)
Bug: 204960018
Signed-off-by: default avatarWill Deacon <willdeacon@google.com>
Change-Id: I39e83529eff560f692853be9e9aba8d6200a824c
parent 34a87d6e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment