[edk2-devel] [PATCH] MdePkg: fix the error comment

Enze Zhu zhuenze at byosoft.com.cn
Fri Nov 13 07:18:27 UTC 2020


correct the function InternalBaseLibBitFieldOrUint() comments.

Signed-off-by: Enze Zhu <zhuenze at 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




-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#67516): https://edk2.groups.io/g/devel/message/67516
Mute This Topic: https://groups.io/mt/78225220/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list