public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Enze Zhu" <zhuenze@byosoft.com.cn>
To: devel@edk2.groups.io
Subject: [PATCH] MdePkg: fix the error comment
Date: Fri, 13 Nov 2020 15:18:27 +0800	[thread overview]
Message-ID: <20201113071827.323-1-zhuenze@byosoft.com.cn> (raw)

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



                 reply	other threads:[~2020-11-13  7:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201113071827.323-1-zhuenze@byosoft.com.cn \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox