From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id D263E82092 for ; Sun, 18 Dec 2016 23:38:15 -0800 (PST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP; 18 Dec 2016 23:38:15 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,372,1477983600"; d="scan'208";a="799883344" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by FMSMGA003.fm.intel.com with ESMTP; 18 Dec 2016 23:38:15 -0800 Received: from fmsmsx155.amr.corp.intel.com (10.18.116.71) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.248.2; Sun, 18 Dec 2016 23:38:15 -0800 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by FMSMSX155.amr.corp.intel.com (10.18.116.71) with Microsoft SMTP Server (TLS) id 14.3.248.2; Sun, 18 Dec 2016 23:38:14 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.97]) by shsmsx102.ccr.corp.intel.com ([169.254.2.54]) with mapi id 14.03.0248.002; Mon, 19 Dec 2016 15:38:11 +0800 From: "Tian, Feng" To: "Bi, Dandan" , "edk2-devel@lists.01.org" CC: "Tian, Feng" Thread-Topic: [edk2] [patch 5/8] MdeModulePkg/EmmcDxe: Avoid Non-Boolean type used as Boolean Thread-Index: AQHSWciCmMjtiYmjw0+EZmtgrmwXIKEO4hTw Date: Mon, 19 Dec 2016 07:38:11 +0000 Message-ID: <7F1BAD85ADEA444D97065A60D2E97EE56998FD11@SHSMSX101.ccr.corp.intel.com> References: <1482132023-10416-1-git-send-email-dandan.bi@intel.com> <1482132023-10416-6-git-send-email-dandan.bi@intel.com> In-Reply-To: <1482132023-10416-6-git-send-email-dandan.bi@intel.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [patch 5/8] MdeModulePkg/EmmcDxe: Avoid Non-Boolean type used as Boolean X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2016 07:38:15 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Feng Tian Thanks Feng -----Original Message----- From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Dand= an Bi Sent: Monday, December 19, 2016 3:20 PM To: edk2-devel@lists.01.org Cc: Tian, Feng Subject: [edk2] [patch 5/8] MdeModulePkg/EmmcDxe: Avoid Non-Boolean type us= ed as Boolean Cc: Feng Tian Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi --- MdeModulePkg/Bus/Sd/EmmcDxe/EmmcBlockIo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeModulePkg/Bus/Sd/EmmcDxe/EmmcBlockIo.c b/MdeModulePkg/Bus/S= d/EmmcDxe/EmmcBlockIo.c index fc705e1..c432d26 100644 --- a/MdeModulePkg/Bus/Sd/EmmcDxe/EmmcBlockIo.c +++ b/MdeModulePkg/Bus/Sd/EmmcDxe/EmmcBlockIo.c @@ -899,11 +899,11 @@ EmmcReadWrite ( BufferSize =3D BlockNum * BlockSize; Status =3D EmmcRwMultiBlocks (Partition, Lba, Buffer, BufferSize, IsRe= ad, Token, LastRw); if (EFI_ERROR (Status)) { return Status; } - DEBUG ((EFI_D_INFO, "Emmc%a(): Part %d Lba 0x%x BlkNo 0x%x Event %p wi= th %r\n", IsRead ? "Read " : "Write", Partition->PartitionType, Lba, BlockN= um, Token ? Token->Event : NULL, Status)); + DEBUG ((EFI_D_INFO, "Emmc%a(): Part %d Lba 0x%x BlkNo 0x%x Event %p wi= th %r\n", IsRead ? "Read " : "Write", Partition->PartitionType, Lba, BlockN= um, (Token !=3D NULL) ? Token->Event : NULL, Status)); =20 Lba +=3D BlockNum; Buffer =3D (UINT8*)Buffer + BufferSize; Remaining -=3D BlockNum; } --=20 1.9.5.msysgit.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel