From bb129c6a8268693c85eee000aa16b12eb4956680 Mon Sep 17 00:00:00 2001 From: "INDIA\\sachinganesh" Date: Fri, 18 Oct 2024 02:00:44 +0530 Subject: [PATCH] SignedCapsulePkg: Clarify return status of Fmp Protocol GetImage() Clarifed the return status of EFI_FIRMWARE_MANAGEMENT_PROTOCOL.GetImage(). As intended in UEFI 2.10 Specification. Signed-off-by: Sachin Ganesh --- .../Universal/SystemFirmwareUpdate/SystemFirmwareCommonDxe.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/SignedCapsulePkg/Universal/SystemFirmwareUpdate/SystemFirmwareCommonDxe.c b/SignedCapsulePkg/Universal/SystemFirmwareUpdate/SystemFirmwareCommonDxe.c index 077bd0cb31..e5b78087bf 100644 --- a/SignedCapsulePkg/Universal/SystemFirmwareUpdate/SystemFirmwareCommonDxe.c +++ b/SignedCapsulePkg/Universal/SystemFirmwareUpdate/SystemFirmwareCommonDxe.c @@ -163,7 +163,10 @@ FmpGetImageInfo ( @retval EFI_INVALID_PARAMETER The Image was NULL. @retval EFI_NOT_FOUND The current image is not copied to the buffer. @retval EFI_UNSUPPORTED The operation is not supported. - @retval EFI_SECURITY_VIOLATION The operation could not be performed due to an authentication failure. + @retval EFI_SECURITY_VIOLATION The operation could not be completed due to an image corruption. + If the image is able to be read, the Image buffer will be updated + with the retrieved image contents. + @retval EFI_DEVICE_ERROR The image could not be read. **/ EFI_STATUS