Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 772c5bb8dcb9841f1839dec02f33324e31b36d25
https://github.com/tianocore/edk2/commit/772c5bb8dcb9841f1839dec02f33324e31b36d25
Author: Michael Kubacki <[email protected]>
Date: 2022-01-20 (Thu, 20 Jan 2022)
Changed paths:
M FmpDevicePkg/FmpDxe/FmpDxe.c
M FmpDevicePkg/Include/Library/FmpDeviceLib.h
M FmpDevicePkg/Library/FmpDeviceLibNull/FmpDeviceLib.c
Log Message:
-----------
FmpDevicePkg/FmpDxe: Update FmpDeviceCheckImageWithStatus() handling
Update the logic handling last attempt status codes from
FmpDeviceCheckImageWithStatus() implementations to account for
cases when the function return status code is EFI_SUCCESS
(since the image was checked successfully) but the ImageUpdatable
value is not valid.
In addition the following sentence is removed from the
LastAttemptStatus parameter definition for
FmpDeviceCheckImageWithStatus() since it can lead to confusion.
The expected status code value range is sufficient to implement
the library API.
"This value will only be checked when this
function returns an error."
Cc: Liming Gao <[email protected]>
Cc: Michael D Kinney <[email protected]>
Cc: Guomin Jiang <[email protected]>
Cc: Wei6 Xu <[email protected]>
Signed-off-by: Michael Kubacki <[email protected]>
Reviewed-by: Guomin Jiang <[email protected]>
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits