diff options
author | Star Zeng <star.zeng@intel.com> | 2018-02-14 17:10:36 +0800 |
---|---|---|
committer | Star Zeng <star.zeng@intel.com> | 2018-03-06 22:31:48 +0800 |
commit | abe63fa7dc0de3e1875139a4abd62357795f52d7 (patch) | |
tree | 4e2cf9daef1624ec4ffbb1758a362f427f4b6eb7 /BaseTools/Source/Python/Common | |
parent | 5e2e5647b9fba569b7ba5ede0a77d06ae3c16504 (diff) | |
download | edk2-abe63fa7dc0de3e1875139a4abd62357795f52d7.tar.gz edk2-abe63fa7dc0de3e1875139a4abd62357795f52d7.tar.bz2 edk2-abe63fa7dc0de3e1875139a4abd62357795f52d7.zip |
IntelSiliconPkg VTdPmrPei: Return SUCCESS when Mapping == NULL in Unmap
NULL is returned to Mapping when Operation is BusMasterCommonBuffer or
BusMasterCommonBuffer64 in PeiIoMmuMap().
So Mapping == NULL is valid when calling PeiIoMmuUnmap().
940dbd071e9f01717236af236740aa0da716805f wrongly changed EFI_SUCCESS
to EFI_INVALID_PARAMETER when Mapping == NULL in PeiIoMmuUnmap().
This patch is to correct it.
Cc: Jiewen Yao <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Common')
0 files changed, 0 insertions, 0 deletions