From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on070d.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe46::70d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 91F7781EFA for ; Wed, 16 Nov 2016 01:03:32 -0800 (PST) Received: from CS1PR84MB0295.NAMPRD84.PROD.OUTLOOK.COM (10.162.190.26) by CS1PR84MB0117.NAMPRD84.PROD.OUTLOOK.COM (10.162.189.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.721.10; Wed, 16 Nov 2016 09:03:33 +0000 Received: from CS1PR84MB0295.NAMPRD84.PROD.OUTLOOK.COM ([10.162.190.26]) by CS1PR84MB0295.NAMPRD84.PROD.OUTLOOK.COM ([10.162.190.26]) with mapi id 15.01.0721.017; Wed, 16 Nov 2016 09:03:32 +0000 From: "Wang, Sunny (HPS SW)" To: Ruiyu Ni , "edk2-devel@lists.01.org" CC: Eric Dong , "Haskell, Darrell" , "Shifflett, Joseph" , "Wang, Sunny (HPS SW)" Thread-Topic: [edk2] [PATCH 1/3] MdeModulePkg/UefiBootManagerLib: Refine the debug message Thread-Index: AQHSPyew70+TVwQjCkaF0krpSUif2aDbQLhA Date: Wed, 16 Nov 2016 09:03:32 +0000 Message-ID: References: <20161115100425.299856-1-ruiyu.ni@intel.com> <20161115100425.299856-2-ruiyu.ni@intel.com> In-Reply-To: <20161115100425.299856-2-ruiyu.ni@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=sunnywang@hpe.com; x-originating-ip: [15.211.131.5] x-microsoft-exchange-diagnostics: 1; CS1PR84MB0117; 7:VDJbktUfrhAMDwet2cIbmjwT2GsyRuH+j3roSkUh5K8K/dgPibfBa1brkCakmy3rOoeqPq0/+RHWBXOy+63ArvL6WkQMGB7W4FyMANukv8JqFzLDJzaE8fazyHm3nHSQt/GoPepsSTZ6oigqNIzPogHn84IDnsbhxCEu5sxHboX3i4MTqoyy+E9e+YShWqeRjJFXr7jS01A37EFCEKN2Youic+aXFYFFZgIFDYk01OCBQHOwr9cfgGm3eZPd/qf6DS7Rhai1SoXX4j19tAU0K5+8LgCQ9S79UgLIUm/lOhUtireKrQZMvfd9q1fXzIgtxt6P9K9zx9Wjf2VyayYwPgPbJleJb3wpiHIF82pbOzM= x-forefront-antispam-report: SFV:SKI; SCL:-1SFV:NSPM; SFS:(10019020)(6009001)(7916002)(13464003)(189002)(199003)(377454003)(97736004)(189998001)(8676002)(5001770100001)(54356999)(101416001)(66066001)(3660700001)(4326007)(2906002)(86362001)(81156014)(81166006)(102836003)(8936002)(33656002)(6506003)(6116002)(9686002)(76176999)(3280700002)(50986999)(3846002)(106356001)(2501003)(105586002)(99286002)(2950100002)(68736007)(229853002)(106116001)(74316002)(15650500001)(122556002)(7696004)(2900100001)(7846002)(92566002)(87936001)(7736002)(77096005)(305945005)(5660300001); DIR:OUT; SFP:1102; SCL:1; SRVR:CS1PR84MB0117; H:CS1PR84MB0295.NAMPRD84.PROD.OUTLOOK.COM; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; x-ms-office365-filtering-correlation-id: efea116f-4d5b-4749-468c-08d40dff70ef x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:CS1PR84MB0117; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(227479698468861)(162533806227266)(228905959029699); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6060326)(6040281)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6055026)(6061324)(6041223); SRVR:CS1PR84MB0117; BCL:0; PCL:0; RULEID:; SRVR:CS1PR84MB0117; x-forefront-prvs: 01283822F8 received-spf: None (protection.outlook.com: hpe.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: hpe.com X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Nov 2016 09:03:32.7012 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-Transport-CrossTenantHeadersStamped: CS1PR84MB0117 Subject: Re: [PATCH 1/3] MdeModulePkg/UefiBootManagerLib: Refine the debug message 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: Wed, 16 Nov 2016 09:03:32 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Looks good to me.=20 Reviewed-by: Sunny Wang -----Original Message----- From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Ruiy= u Ni Sent: Tuesday, November 15, 2016 6:04 PM To: edk2-devel@lists.01.org Cc: Eric Dong Subject: [edk2] [PATCH 1/3] MdeModulePkg/UefiBootManagerLib: Refine the deb= ug message Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni Cc: Eric Dong --- MdeModulePkg/Library/UefiBootManagerLib/BmLoadOption.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/MdeModulePkg/Library/UefiBootManagerLib/BmLoadOption.c b/MdeMo= dulePkg/Library/UefiBootManagerLib/BmLoadOption.c index e638e5f..6f705bd 100644 --- a/MdeModulePkg/Library/UefiBootManagerLib/BmLoadOption.c +++ b/MdeModulePkg/Library/UefiBootManagerLib/BmLoadOption.c @@ -1277,8 +1277,9 @@ EfiBootManagerProcessLoadOption ( // Load and start the load option. // DEBUG (( - DEBUG_INFO | DEBUG_LOAD, "Process Load Option (%s%04x) ...\n", - mBmLoadOptionName[LoadOption->OptionType], LoadOption->OptionNumber + DEBUG_INFO | DEBUG_LOAD, "Process %s%04x (%s) ...\n", + mBmLoadOptionName[LoadOption->OptionType], LoadOption->OptionNumber, + LoadOption->Description )); ImageHandle =3D NULL; FileBuffer =3D EfiBootManagerGetLoadOptionBuffer (LoadOption->FilePath, = &FilePath, &FileSize); @@ -1321,7 +1322,7 @@ EfiBootManagerProcessLoadOptio= n ( =20 LoadOption->Status =3D gBS->StartImage (ImageHandle, &LoadOption->Exit= DataSize, &LoadOption->ExitData); DEBUG (( - DEBUG_INFO | DEBUG_LOAD, "Load Option (%s%04x) Return Status =3D %r\= n", + DEBUG_INFO | DEBUG_LOAD, "%s%04x Return Status =3D %r\n", mBmLoadOptionName[LoadOption->OptionType], LoadOption->OptionNumber,= LoadOption->Status )); =20 -- 2.9.0.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel