From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-x22f.google.com (mail-io0-x22f.google.com [IPv6:2607:f8b0:4001:c06::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id CA30F21E977FB for ; Tue, 5 Sep 2017 08:46:32 -0700 (PDT) Received: by mail-io0-x22f.google.com with SMTP id i200so18018460ioa.2 for ; Tue, 05 Sep 2017 08:49:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=oBfFQkk3iBfVt//fQ76lG7QIjHJ5f/tS8Qlf77KU500=; b=LHT9IQSs8+vgfqvAIfTKwu9lp+yDjr6DYnkIeK+7xNHGmVt4cUwv/w7CO7kzV+lv0P p6LcqOMX+guZ4CMAkTxind0zwj1bVAhe1RI/ObS/H/NUJbGPKalWjac9whd8vTenJkJY lEYthYndIpXKQFTnwYL/yF5qY0a5UTQk2ce4w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=oBfFQkk3iBfVt//fQ76lG7QIjHJ5f/tS8Qlf77KU500=; b=f0Vukk8wK6PwMtg2SG3ocCF6O3BbUtEnXUdIMbMitrwBCPYi/AQwZwKw84z84Z8mgA 6fv99lf0BL5Dc0YyZOv7w6oEKEJemMaWEMUUCk3+9mLZErX/Em7O4OlZdSxzkpfF8P7I ujM48GndAK/VnOlAb9l3osr2yrZunRvNX3ogV8KvyceCzSRVr4NuJlxJXjViZJr401Y0 WZK4RNxJiRe6dFdtHw5rLIh9R8h7JwzoS1KryM19x+W72ZIpEi59i52dnyGmy7K0coIT Djdaw13rTdG6AjpxAX3pNxFfjkwb+AbGrxSYCUWQKsz2mjTwxofAjd01qXMfo/k4Ecd6 jAFg== X-Gm-Message-State: AHPjjUi1yD7izUsRn44lAFIV3vdFWJs1jt24J3SkLc/0ZcSIX8+qxUhU pyqdq9kDZu/NIgUVy7BU7MR+EywIU6yh X-Google-Smtp-Source: ADKCNb7mb91F+6JxhAfW5b3xzs/MpgzylgelHKPKJjAAfdvs1THADVcQAR9avMX2FsEgh8QbTsFZc7mQ0sbpvtgC+uc= X-Received: by 10.36.8.138 with SMTP id 132mr4790642itc.162.1504626561357; Tue, 05 Sep 2017 08:49:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.162.1 with HTTP; Tue, 5 Sep 2017 08:49:20 -0700 (PDT) In-Reply-To: <20170905145029.292860-1-ruiyu.ni@intel.com> References: <20170905145029.292860-1-ruiyu.ni@intel.com> From: Ard Biesheuvel Date: Tue, 5 Sep 2017 16:49:20 +0100 Message-ID: To: Ruiyu Ni Cc: "edk2-devel@lists.01.org" Subject: Re: [PATCH] MdePkg/PciSegmentLibSegmentInfo: fix typo in PciSegmentBitFieldAnd*() X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2017 15:46:33 -0000 Content-Type: text/plain; charset="UTF-8" On 5 September 2017 at 15:50, Ruiyu Ni wrote: > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Ruiyu Ni > Cc: Ard Biesheuvel Reviewed-by: Ard Biesheuvel > --- > MdePkg/Library/PciSegmentLibSegmentInfo/PciSegmentLibCommon.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/MdePkg/Library/PciSegmentLibSegmentInfo/PciSegmentLibCommon.c b/MdePkg/Library/PciSegmentLibSegmentInfo/PciSegmentLibCommon.c > index 7b7324d673..e0bdb16911 100644 > --- a/MdePkg/Library/PciSegmentLibSegmentInfo/PciSegmentLibCommon.c > +++ b/MdePkg/Library/PciSegmentLibSegmentInfo/PciSegmentLibCommon.c > @@ -381,7 +381,7 @@ PciSegmentBitFieldAnd8 ( > PCI_SEGMENT_INFO *SegmentInfo; > > SegmentInfo = GetPciSegmentInfo (&Count); > - return MmioBitFieldOr8 (PciSegmentLibGetEcamAddress (Address, SegmentInfo, Count), StartBit, EndBit, AndData); > + return MmioBitFieldAnd8 (PciSegmentLibGetEcamAddress (Address, SegmentInfo, Count), StartBit, EndBit, AndData); > } > > /** > @@ -752,7 +752,7 @@ PciSegmentBitFieldAnd16 ( > PCI_SEGMENT_INFO *SegmentInfo; > > SegmentInfo = GetPciSegmentInfo (&Count); > - return MmioBitFieldOr16 (PciSegmentLibGetEcamAddress (Address, SegmentInfo, Count), StartBit, EndBit, AndData); > + return MmioBitFieldAnd16 (PciSegmentLibGetEcamAddress (Address, SegmentInfo, Count), StartBit, EndBit, AndData); > } > > /** > @@ -1119,7 +1119,7 @@ PciSegmentBitFieldAnd32 ( > PCI_SEGMENT_INFO *SegmentInfo; > > SegmentInfo = GetPciSegmentInfo (&Count); > - return MmioBitFieldOr32 (PciSegmentLibGetEcamAddress (Address, SegmentInfo, Count), StartBit, EndBit, AndData); > + return MmioBitFieldAnd32 (PciSegmentLibGetEcamAddress (Address, SegmentInfo, Count), StartBit, EndBit, AndData); > } > > /** > -- > 2.12.2.windows.2 >