diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-04-19 16:12:10 +0200 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-05-10 14:38:59 +0200 |
commit | e55f8c73b6255b353c021ab59017a364dd527a86 (patch) | |
tree | cc5fbb2bb5c2783070f0799e5950fa1c7392ec63 /BaseTools/Source/Python/Common/LongFilePathOsPath.py | |
parent | 9c0dc0b01a79666c3ba8aa0c69ad92131aada113 (diff) | |
download | edk2-platforms-e55f8c73b6255b353c021ab59017a364dd527a86.tar.xz |
ArmPkg/ArmDmaLib: deal with NULL return value of UncachedAllocatePages ()
The allocation function UncachedAllocatePages () may return NULL, in
which case our implementation of DmaAllocateBuffer () should return
EFI_OUT_OF_RESOURCES rather than silently ignoring the NULL value and
returning EFI_SUCCESS.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'BaseTools/Source/Python/Common/LongFilePathOsPath.py')
0 files changed, 0 insertions, 0 deletions