From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by mx.groups.io with SMTP id smtpd.web08.1172.1605251928740764172 for ; Thu, 12 Nov 2020 23:18:50 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=permanent DNS error (domain: byosoft.com.cn, ip: 58.240.74.242, mailfrom: zhuenze@byosoft.com.cn) Received: from localhost.localdomain ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Fri, 13 Nov 2020 15:18:42 +0800 X-WM-Sender: zhuenze@byosoft.com.cn From: "Enze Zhu" To: devel@edk2.groups.io Subject: [PATCH] MdePkg: fix the error comment Date: Fri, 13 Nov 2020 15:18:27 +0800 Message-Id: <20201113071827.323-1-zhuenze@byosoft.com.cn> X-Mailer: git-send-email 2.27.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit correct the function InternalBaseLibBitFieldOrUint() comments. Signed-off-by: Enze Zhu --- 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