public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Gao, Zhichao" <zhichao.gao@intel.com>
To: Rebecca Cran <rebecca@nuviainc.com>,
	"devel@edk2.groups.io" <devel@edk2.groups.io>
Cc: "Ni, Ray" <ray.ni@intel.com>
Subject: Re: [PATCH 1/1] ShellPkg: Remove bogus "Bits" text from some smbiosview strings.
Date: Thu, 31 Dec 2020 00:23:06 +0000	[thread overview]
Message-ID: <MWHPR11MB16475BD2253A5800D8830F83F6D60@MWHPR11MB1647.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20201228231637.17266-2-rebecca@nuviainc.com>

Reviewed-by: Zhichao Gao <zhichao.gao@intel.com>

Thanks,
Zhichao

> -----Original Message-----
> From: Rebecca Cran <rebecca@nuviainc.com>
> Sent: Tuesday, December 29, 2020 7:17 AM
> To: devel@edk2.groups.io
> Cc: Rebecca Cran <rebecca@nuviainc.com>; Ni, Ray <ray.ni@intel.com>; Gao,
> Zhichao <zhichao.gao@intel.com>
> Subject: [PATCH 1/1] ShellPkg: Remove bogus "Bits" text from some smbiosview
> strings.
> 
> Neither of the "CPU Socket Unpopulated" or "Do not reboot" messages should
> contain the word "Bits".
> 
> Remove them and update the identifier for the "Do not reboot" message to
> remove the word "BITS".
> 
> Signed-off-by: Rebecca Cran <rebecca@nuviainc.com>
> ---
>  ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c           | 2
> +-
> 
> ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/SmbiosViewStrings.
> uni | 4 ++--
>  2 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git
> a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c
> b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c
> index be8ae13c17d1..a3dc7b68c4d3 100644
> --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c
> +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c
> @@ -3025,7 +3025,7 @@ DisplaySystemResetCapabilities (
>      break;
> 
>    case 3:
> -    ShellPrintHiiEx(-1,-1,NULL,STRING_TOKEN
> (STR_SMBIOSVIEW_PRINTINFO_DO_NOT_REBOOT_BITS),
> gShellDebug1HiiHandle);
> +    ShellPrintHiiEx(-1,-1,NULL,STRING_TOKEN
> + (STR_SMBIOSVIEW_PRINTINFO_DO_NOT_REBOOT), gShellDebug1HiiHandle);
>      break;
>    }
>    //
> diff --git
> a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/SmbiosViewString
> s.uni
> b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/SmbiosViewString
> s.uni
> index b14d1cb6dac8..8bcba7ccf768 100644
> ---
> a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/SmbiosViewString
> s.uni
> +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/SmbiosViewS
> +++ trings.uni
> @@ -269,7 +269,7 @@
>  #string STR_SMBIOSVIEW_PRINTINFO_BIT15_NOT_ZERO                 #language
> en-US "Error, reserved BIT 15 must be zero\r\n"
>  #string STR_SMBIOSVIEW_PRINTINFO_PROC_STATUS                    #language en-
> US "Processor Status:\r\n"
>  #string STR_SMBIOSVIEW_PRINTINFO_CPU_SOCKET_POPULATED
> #language en-US "CPU Socket Populated\r\n"
> -#string STR_SMBIOSVIEW_PRINTINFO_CPU_SOCKET_UNPOPULATED
> #language en-US "CPU Socket Unpopulated Bits\r\n"
> +#string STR_SMBIOSVIEW_PRINTINFO_CPU_SOCKET_UNPOPULATED
> #language en-US "CPU Socket Unpopulated\r\n"
>  #string STR_SMBIOSVIEW_PRINTINFO_CPU_ENABLED                    #language en-
> US "CPU Enabled\r\n"
>  #string STR_SMBIOSVIEW_PRINTINFO_CPU_DISABLED_BY_USER
> #language en-US "CPU Disabled by User via BIOS Setup\r\n"
>  #string STR_SMBIOSVIEW_PRINTINFO_CPU_DIABLED_BY_BIOS            #language
> en-US "CPU Disabled By BIOS (POST Error)\r\n"
> @@ -333,7 +333,7 @@
>  #string STR_SMBIOSVIEW_PRINTINFO_BOOT_OPTION_LIMIT              #language
> en-US "Boot Option on Limit: "
>  #string STR_SMBIOSVIEW_PRINTINFO_OP_SYSTEM_2                    #language en-
> US "Operating system\r\n"
>  #string STR_SMBIOSVIEW_PRINTINFO_SYSTEM_UTIL                    #language en-US
> "System utilities\r\n"
> -#string STR_SMBIOSVIEW_PRINTINFO_DO_NOT_REBOOT_BITS
> #language en-US "Do not reboot Bits\r\n"
> +#string STR_SMBIOSVIEW_PRINTINFO_DO_NOT_REBOOT                  #language
> en-US "Do not reboot\r\n"
>  #string STR_SMBIOSVIEW_PRINTINFO_BOOT_OPTION                    #language en-
> US "Boot Option :"
>  #string STR_SMBIOSVIEW_PRINTINFO_DO_NOT_REBOOT                  #language
> en-US "Do not reboot\r\n"
>  #string STR_SMBIOSVIEW_PRINTINFO_HARDWARE_SECURITY_SET
> #language en-US "Hardware Security Settings: \r\n"
> --
> 2.26.2


  reply	other threads:[~2020-12-31  0:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-28 23:16 [PATCH 0/1] ShellPkg: Remove the word "Bits" from a couple of smbiosview strings Rebecca Cran
2020-12-28 23:16 ` [PATCH 1/1] ShellPkg: Remove bogus "Bits" text from some " Rebecca Cran
2020-12-31  0:23   ` Gao, Zhichao [this message]
2021-01-04 10:40   ` [edk2-devel] " Philippe Mathieu-Daudé

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=MWHPR11MB16475BD2253A5800D8830F83F6D60@MWHPR11MB1647.namprd11.prod.outlook.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox