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

Enze Zhu posted 1 patch 3 years, 5 months ago
Failed in applying to current master (apply log)
MdePkg/Library/BaseLib/BitField.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[edk2-devel] [PATCH] MdePkg: fix the error comment
Posted by Enze Zhu 3 years, 5 months ago
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




-=-=-=-=-=-=-=-=-=-=-=-
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/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-