diff options
author | Tom Lendacky <thomas.lendacky@amd.com> | 2024-03-08 07:30:14 -0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-04-17 18:30:03 +0000 |
commit | c212fec9cf086243a7fb01cea185e67c2bd8f72e (patch) | |
tree | 52527276f204d58e5dff01db902eea2221639363 /BaseTools/Source/Python/FirmwareStorageFormat/UPLHeader.py | |
parent | 61185f1d501512f35621d0fdc5f17503c77bf449 (diff) | |
download | edk2-c212fec9cf086243a7fb01cea185e67c2bd8f72e.tar.gz edk2-c212fec9cf086243a7fb01cea185e67c2bd8f72e.tar.bz2 edk2-c212fec9cf086243a7fb01cea185e67c2bd8f72e.zip |
OvmfPkg/BaseMemEncryptLib: Fix error check from AsmRmpAdjust()
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4654
The AsmRmpAdjust() function returns a UINT32, however in SevSnpIsVmpl0()
the return value is checked with EFI_ERROR() when it should just be
compared to 0. Fix the error check.
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Erdem Aktas <erdemaktas@google.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Michael Roth <michael.roth@amd.com>
Cc: Min Xu <min.m.xu@intel.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Diffstat (limited to 'BaseTools/Source/Python/FirmwareStorageFormat/UPLHeader.py')
0 files changed, 0 insertions, 0 deletions