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
This commit is contained in:
Feng Tian 2015-04-27 06:16:07 +00:00 committed by erictian
parent 769402ef68
commit a9ec6d6592
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,7 @@ NvmeCreatePrpList (
*PrpListNo = (UINTN)DivU64x64Remainder ((UINT64)Pages, (UINT64)PrpEntryNo - 1, &Remainder); *PrpListNo = (UINTN)DivU64x64Remainder ((UINT64)Pages, (UINT64)PrpEntryNo - 1, &Remainder);
if (*PrpListNo == 0) { if (*PrpListNo == 0) {
*PrpListNo = 1; *PrpListNo = 1;
} else if (Remainder != 0) && (Remainder != 1) { } else if ((Remainder != 0) && (Remainder != 1)) {
*PrpListNo += 1; *PrpListNo += 1;
} else if (Remainder == 1) { } else if (Remainder == 1) {
Remainder = PrpEntryNo; Remainder = PrpEntryNo;