mirror of https://github.com/acidanthera/audk.git
MdeModulePkg/Core: correct one coding style
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1284 Non-Boolean comparisons should use a compare operator (==, !=, >, < >=, <=) Cc: Dandan Bi <dandan.bi@intel.com> Cc: Star Zeng <star.zeng@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.wang@intel.com> Reviewed-by: Dandan Bi <dandan.bi@intel.com>
This commit is contained in:
parent
23a62c6990
commit
895415ed47
|
@ -1559,7 +1559,7 @@ PromoteGuardedFreePages (
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (AvailablePages) {
|
if (AvailablePages != 0) {
|
||||||
DEBUG ((DEBUG_INFO, "Promoted pages: %lX (%lx)\r\n", Start, (UINT64)AvailablePages));
|
DEBUG ((DEBUG_INFO, "Promoted pages: %lX (%lx)\r\n", Start, (UINT64)AvailablePages));
|
||||||
ClearGuardedMemoryBits (Start, AvailablePages);
|
ClearGuardedMemoryBits (Start, AvailablePages);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue