From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (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 B52BA21CB57CF for ; Tue, 27 Jun 2017 17:53:49 -0700 (PDT) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga104.jf.intel.com with ESMTP; 27 Jun 2017 17:55:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.40,273,1496127600"; d="scan'208";a="102110268" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga004.jf.intel.com with ESMTP; 27 Jun 2017 17:55:19 -0700 Received: from fmsmsx158.amr.corp.intel.com (10.18.116.75) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 27 Jun 2017 17:55:14 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx158.amr.corp.intel.com (10.18.116.75) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 27 Jun 2017 17:55:14 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.151]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.116]) with mapi id 14.03.0319.002; Wed, 28 Jun 2017 08:55:11 +0800 From: "Ni, Ruiyu" To: Tapan Shah , "edk2-devel@lists.01.org" CC: "Carsey, Jaben" Thread-Topic: [edk2] [PATCH] ShellPkg: Update dh command to reflect correct driver field information Thread-Index: AQHS73GxFdlGdoN7vU+/cYvgYm0on6I5c0Gw Date: Wed, 28 Jun 2017 00:55:10 +0000 Deferred-Delivery: Wed, 28 Jun 2017 00:55:00 +0000 Message-ID: <734D49CCEBEEF84792F5B80ED585239D5B9A6354@SHSMSX104.ccr.corp.intel.com> References: <1498587444-6952-1-git-send-email-tapandshah@hpe.com> In-Reply-To: <1498587444-6952-1-git-send-email-tapandshah@hpe.com> Accept-Language: en-US, zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH] ShellPkg: Update dh command to reflect correct driver field information 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: Wed, 28 Jun 2017 00:53:49 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Ruiyu Ni Thanks/Ray > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of > Tapan Shah > Sent: Wednesday, June 28, 2017 2:17 AM > To: edk2-devel@lists.01.org > Cc: Carsey, Jaben ; Ni, Ruiyu > Subject: [edk2] [PATCH] ShellPkg: Update dh command to reflect correct > driver field information >=20 > dh command gets driver name and wrongly prints it as 'Child [handle]'. > It should print it as 'Driver Name [handle]'. >=20 > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Tapan Shah > --- > ShellPkg/Library/UefiShellDriver1CommandsLib/Dh.c | = 3 ++- > .../UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.uni | = 4 > ++-- > 2 files changed, 4 insertions(+), 3 deletions(-) >=20 > diff --git a/ShellPkg/Library/UefiShellDriver1CommandsLib/Dh.c > b/ShellPkg/Library/UefiShellDriver1CommandsLib/Dh.c > index 0bcee92..170a868 100644 > --- a/ShellPkg/Library/UefiShellDriver1CommandsLib/Dh.c > +++ b/ShellPkg/Library/UefiShellDriver1CommandsLib/Dh.c > @@ -3,6 +3,7 @@ >=20 > (C) Copyright 2014-2015 Hewlett-Packard Development Company, L.P.
> Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved.
> + (C) Copyright 2017 Hewlett Packard Enterprise Development LP
> This program and the accompanying materials > are licensed and made available under the terms and conditions of the = BSD > License > which accompanies this distribution. The full text of the license may= be > found at @@ -664,7 +665,7 @@ DisplayDriverModelHandle ( > -1, > -1, > NULL, > - STRING_TOKEN (STR_DH_OUTPUT_DRIVER6B), > + STRING_TOKEN (STR_DH_OUTPUT_DRIVER7), > gShellDriver1HiiHandle, > ConvertHandleToHandleIndex(Handle), > DriverName!=3DNULL?DriverName:L"" > diff --git > a/ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1Command > sLib.uni > b/ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1Comman > dsLib.uni > index 52156d5..7a3e61e 100644 > --- > a/ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1Command > sLib.uni > +++ > b/ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1Comma > +++ ndsLib.uni > @@ -1,6 +1,6 @@ > // /** > // > -// (C) Copyright 2016 Hewlett Packard Enterprise Development LP
> +// (C) Copyright 2016-2017 Hewlett Packard Enterprise Development > +LP
> // (C) Copyright 2012-2015 Hewlett-Packard Development Company, L.P.
> // Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved.
= // > This program and the accompanying materials @@ -120,7 +120,7 @@ > #string STR_DH_OUTPUT_DRIVER5B #language en-US " > Parent[%H%02x%N] : %B%s%N\r\n" > #string STR_DH_OUTPUT_DRIVER6 #language en-US " Child > Controllers : %B%s%N\r\n" > #string STR_DH_OUTPUT_DRIVER6B #language en-US " > Child[%H%02x%N] : %B%s%N\r\n" > -#string STR_DH_OUTPUT_DRIVER7 #language en-US " Driver > Name : %B%s%N\r\n" > +#string STR_DH_OUTPUT_DRIVER7 #language en-US " Driver Name > [%H%02x%N] : %B%s%N\r\n" > #string STR_DH_OUTPUT_DRIVER7B #language en-US " Driver Image > Name : %B%s%N\r\n" > #string STR_DH_OUTPUT_DRIVER8 #language en-US " Driver > Version : %B%08x%N\r\n" > " Driver Type = : %B%s%N\r\n" > -- > 2.6.2.windows.1 >=20 > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel