]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/hyperv: Fix check of return value from snp_set_vmsa()
authorTianyu Lan <tiala@microsoft.com>
Thu, 13 Mar 2025 08:52:17 +0000 (04:52 -0400)
committerWei Liu <wei.liu@kernel.org>
Thu, 20 Mar 2025 21:23:03 +0000 (21:23 +0000)
commite792d843aa3c9d039074cdce728d5803262e57a7
tree6aad5083402ed7eb30fd04076a1f05eb4bdf1e90
parent07b74192e6170571892c09bf5c4352a85db22557
x86/hyperv: Fix check of return value from snp_set_vmsa()

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

Cc: stable@vger.kernel.org
Fixes: 44676bb9d566 ("x86/hyperv: Add smp support for SEV-SNP guest")
Signed-off-by: Tianyu Lan <tiala@microsoft.com>
Reviewed-by: Michael Kelley <mhklinux@outlook.com>
Link: https://lore.kernel.org/r/20250313085217.45483-1-ltykernel@gmail.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Message-ID: <20250313085217.45483-1-ltykernel@gmail.com>
arch/x86/hyperv/ivm.c