Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 300dada916aa9492d5fe52693e9d6fd84adccdf3
https://github.com/tianocore/edk2/commit/300dada916aa9492d5fe52693e9d6fd84adccdf3
Author: Khalid Ali <[email protected]>
Date: 2026-01-30 (Fri, 30 Jan 2026)
Changed paths:
M MdeModulePkg/Core/Pei/Ppi/Ppi.c
Log Message:
-----------
MdeModulePkg/Core: Make PPI services spec complaint
The documentation of InstallPpi() and NotifyPpi() in both the spec and
function comment indicate to return EFI_OUT_OF_RESOURCES if memory
allocation fails.
However, the implementation of those two services assert if memory
allocation fails. This is a mismatch between what the function expected to
return and what actually returns.
Fix this by returning EFI_OUT_OF_RESOURCES if memory allocation fails,
so the code matches the documentation and comply with the spec. It is
expected service consumers(callers of these functions) to handle
failures appriciately.
Signed-off-by: Khalid Ali <[email protected]>
To unsubscribe from these emails, change your notification settings at
https://github.com/tianocore/edk2/settings/notifications
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits