From: Michael Kubacki <[email protected]> REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2869
This patch series makes minor fixes and enhancements in FmpDevicePkg. None of the issues impact functionality in a major way. These are smaller sets of changes that are being submitted prior to a larger future patch series that will cover functional changes for BZ2802. Note: The series with Reviewed-bys is on the following branch. https://github.com/makubacki/edk2/tree/fmpdevicepkg_minor_fixes V2 changes: 1. [PATCH v1 7/7]: * Added a DEBUG_ERROR message if the Image parameter is NULL in GetAllHeaderSize() * Updated the EFI_INVALID_PARAMETER retval description for functions that accept an ImageIndex to indicate the status code could be returned if ImageIndex is invalid. * Updated CheckTheImage() to return EFI_INVALID_PARAMETER if ImageIndex is invalid. 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: Michael D Kinney <[email protected]> Reviewed-by: Guomin Jiang <[email protected]> Reviewed-by: Wei6 Xu <[email protected]> Michael Kubacki (7): FmpDevicePkg/FmpDependencyLib: Correct ValidateDependency() documentation FmpDevicePkg/FmpDependencyLib: Fix "exression" typo FmpDevicePkg/FmpDependencyLib: Handle version string overflow FmpDevicePkg/FmpDependencyCheckLib: Return unsatisfied on handle failure FmpDevicePkg/FmpDxe: Better warn of potential ImageTypeId misconfig FmpDevicePkg/FmpDxe: Indicate ESRT GUID on invalid ImageIdName FmpDevicePkg/FmpDxe: Improve function parameter validation FmpDevicePkg/FmpDxe/FmpDxe.c | 65 ++++++++++++++++---- FmpDevicePkg/Library/FmpDependencyCheckLib/FmpDependencyCheckLib.c | 2 + FmpDevicePkg/Library/FmpDependencyLib/FmpDependencyLib.c | 8 ++- FmpDevicePkg/FmpDxe/FmpDxe.h | 10 +-- FmpDevicePkg/Include/Library/FmpDependencyLib.h | 5 +- 5 files changed, 69 insertions(+), 21 deletions(-) -- 2.27.0.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#63741): https://edk2.groups.io/g/devel/message/63741 Mute This Topic: https://groups.io/mt/76016852/21656 Group Owner: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
