mirror of https://github.com/acidanthera/audk.git
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:
parent
769402ef68
commit
a9ec6d6592
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue