diff options
author | Feng Tian <feng.tian@intel.com> | 2015-04-27 06:16:07 +0000 |
---|---|---|
committer | erictian <erictian@Edk2> | 2015-04-27 06:16:07 +0000 |
commit | a9ec6d6592896e6caf72e1d383980c8703b98926 (patch) | |
tree | 46fb30a38ed4e3e2b56a20c17f3b06b2496d8e86 | |
parent | 769402ef68f1fa611f8bcc9b7a15a5ed13ea4edc (diff) | |
download | edk2-platforms-a9ec6d6592896e6caf72e1d383980c8703b98926.tar.xz |
MdeModulePkg/NvmExpressDxe: fix build error
Add missing parentheses due to typo.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17209 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressPassthru.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressPassthru.c b/MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressPassthru.c index d752ec2bd5..2fc4df0a43 100644 --- a/MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressPassthru.c +++ b/MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressPassthru.c @@ -259,7 +259,7 @@ NvmeCreatePrpList ( *PrpListNo = (UINTN)DivU64x64Remainder ((UINT64)Pages, (UINT64)PrpEntryNo - 1, &Remainder);
if (*PrpListNo == 0) {
*PrpListNo = 1;
- } else if (Remainder != 0) && (Remainder != 1) {
+ } else if ((Remainder != 0) && (Remainder != 1)) {
*PrpListNo += 1;
} else if (Remainder == 1) {
Remainder = PrpEntryNo;
|