* [PATCH] MdePkg: fix the error comment
@ 2020-11-13 7:18 Enze Zhu
0 siblings, 0 replies; only message in thread
From: Enze Zhu @ 2020-11-13 7:18 UTC (permalink / raw)
To: devel
correct the function InternalBaseLibBitFieldOrUint() comments.
Signed-off-by: Enze Zhu <zhuenze@byosoft.com.cn>
---
MdePkg/Library/BaseLib/BitField.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/MdePkg/Library/BaseLib/BitField.c b/MdePkg/Library/BaseLib/BitField.c
index 0f48a036ba..dc16729d35 100644
--- a/MdePkg/Library/BaseLib/BitField.c
+++ b/MdePkg/Library/BaseLib/BitField.c
@@ -40,7 +40,7 @@ InternalBaseLibBitFieldReadUint (
and returns the result.
Performs a bitwise OR between the bit field specified by StartBit and EndBit
- in Operand and the value specified by AndData. All other bits in Operand are
+ in Operand and the value specified by OrData. All other bits in Operand are
preserved. The new value is returned.
If OrData is larger than the bitmask value range specified by StartBit and EndBit, then ASSERT().
--
2.27.0.windows.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-11-13 7:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-13 7:18 [PATCH] MdePkg: fix the error comment Enze Zhu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox