summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Workspace/MetaFileParser.py
diff options
context:
space:
mode:
authorKhalid Ali <khaliidcaliy@gmail.com>2025-12-25 19:24:47 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2026-01-30 05:18:50 +0300
commit300dada916aa9492d5fe52693e9d6fd84adccdf3 (patch)
tree257dd04a2b0ecd7546327d8cf9c9195d2d92e9fe /BaseTools/Source/Python/Workspace/MetaFileParser.py
parent539c53375e84a7542a45e7b2893d59bdb0a81ff3 (diff)
downloadedk2-300dada916aa9492d5fe52693e9d6fd84adccdf3.tar.xz
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 <khaliidcaliy@gmail.com>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/MetaFileParser.py')
0 files changed, 0 insertions, 0 deletions