Skip to content
Commit 8dbccafc authored by Marc Zyngier's avatar Marc Zyngier
Browse files

KVM: arm64: Fix __pkvm_host_mkyoung_guest() return value



Don't use an uninitialised stack variable, and just return 0
on the non-error path.

Reported-by: default avatarkernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202502100911.8c9DbtKD-lkp@intel.com/


Reviewed-by: default avatarQuentin Perret <qperret@google.com>
Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
parent eabc7aae
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