Commit 10edc4ce authored by Tianyu Lan's avatar Tianyu Lan Committed by Greg Kroah-Hartman
Browse files

x86/hyperv: Fix check of return value from snp_set_vmsa()



commit e792d843 upstream.

snp_set_vmsa() returns 0 as success result and so fix it.

Cc: stable@vger.kernel.org
Fixes: 44676bb9 ("x86/hyperv: Add smp support for SEV-SNP guest")
Signed-off-by: default avatarTianyu Lan <tiala@microsoft.com>
Reviewed-by: default avatarMichael Kelley <mhklinux@outlook.com>
Link: https://lore.kernel.org/r/20250313085217.45483-1-ltykernel@gmail.com


Signed-off-by: default avatarWei Liu <wei.liu@kernel.org>
Message-ID: <20250313085217.45483-1-ltykernel@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7cf8fe2b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment