Patchwork [1/9] bios: smbios: fix typo Stucture ==> Structure

login
register
mail settings
Submitter Colin King
Date Sept. 22, 2012, 5:53 p.m.
Message ID <1348336440-13565-2-git-send-email-colin.king@canonical.com>
Download mbox | patch
Permalink /patch/186147/
State Accepted
Headers show

Comments

Colin King - Sept. 22, 2012, 5:53 p.m.
From: Colin Ian King <colin.king@canonical.com>

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 src/bios/smbios/smbios.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Keng-Yu Lin - Sept. 25, 2012, 6:37 a.m.
On Sun, Sep 23, 2012 at 1:53 AM, Colin King <colin.king@canonical.com> wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  src/bios/smbios/smbios.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/bios/smbios/smbios.c b/src/bios/smbios/smbios.c
> index 338c310..34c42f9 100644
> --- a/src/bios/smbios/smbios.c
> +++ b/src/bios/smbios/smbios.c
> @@ -23,7 +23,7 @@
>  static void smbios_dump_entry(fwts_framework *fw, fwts_smbios_entry *entry, fwts_smbios_type type)
>  {
>         if (type == FWTS_SMBIOS) {
> -               fwts_log_info_verbatum(fw, "SMBIOS Entry Point Stucture:");
> +               fwts_log_info_verbatum(fw, "SMBIOS Entry Point Structure:");
>                 fwts_log_info_verbatum(fw, "  Anchor String          : %4.4s", entry->signature);
>                 fwts_log_info_verbatum(fw, "  Checksum               : 0x%2.2x", entry->checksum);
>                 fwts_log_info_verbatum(fw, "  Entry Point Length     : 0x%2.2x", entry->length);
> @@ -37,7 +37,7 @@ static void smbios_dump_entry(fwts_framework *fw, fwts_smbios_entry *entry, fwts
>                         entry->formatted_area[4]);
>         }
>         if (type == FWTS_SMBIOS_DMI_LEGACY)
> -               fwts_log_info_verbatum(fw, "Legacy DMI Entry Point Stucture:");
> +               fwts_log_info_verbatum(fw, "Legacy DMI Entry Point Structure:");
>
>         /* Common to SMBIOS and SMBIOS_DMI_LEGACY */
>         fwts_log_info_verbatum(fw, "  Intermediate Anchor    : %5.5s", (char *)entry->anchor_string);
> --
> 1.7.10.4
>
Acked-by: Keng-Yu Lin <kengyu@canonical.com>
Ivan Hu - Sept. 28, 2012, 4:51 a.m.
On 09/23/2012 01:53 AM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>   src/bios/smbios/smbios.c |    4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/bios/smbios/smbios.c b/src/bios/smbios/smbios.c
> index 338c310..34c42f9 100644
> --- a/src/bios/smbios/smbios.c
> +++ b/src/bios/smbios/smbios.c
> @@ -23,7 +23,7 @@
>   static void smbios_dump_entry(fwts_framework *fw, fwts_smbios_entry *entry, fwts_smbios_type type)
>   {	
>   	if (type == FWTS_SMBIOS) {
> -		fwts_log_info_verbatum(fw, "SMBIOS Entry Point Stucture:");
> +		fwts_log_info_verbatum(fw, "SMBIOS Entry Point Structure:");
>   		fwts_log_info_verbatum(fw, "  Anchor String          : %4.4s", entry->signature);
>   		fwts_log_info_verbatum(fw, "  Checksum               : 0x%2.2x", entry->checksum);
>   		fwts_log_info_verbatum(fw, "  Entry Point Length     : 0x%2.2x", entry->length);
> @@ -37,7 +37,7 @@ static void smbios_dump_entry(fwts_framework *fw, fwts_smbios_entry *entry, fwts
>   			entry->formatted_area[4]);
>   	}
>   	if (type == FWTS_SMBIOS_DMI_LEGACY)
> -		fwts_log_info_verbatum(fw, "Legacy DMI Entry Point Stucture:");
> +		fwts_log_info_verbatum(fw, "Legacy DMI Entry Point Structure:");
>
>   	/* Common to SMBIOS and SMBIOS_DMI_LEGACY */
>   	fwts_log_info_verbatum(fw, "  Intermediate Anchor    : %5.5s", (char *)entry->anchor_string);
>

Acked-by: Ivan Hu <ivan.hu@canonical.com>

Patch

diff --git a/src/bios/smbios/smbios.c b/src/bios/smbios/smbios.c
index 338c310..34c42f9 100644
--- a/src/bios/smbios/smbios.c
+++ b/src/bios/smbios/smbios.c
@@ -23,7 +23,7 @@ 
 static void smbios_dump_entry(fwts_framework *fw, fwts_smbios_entry *entry, fwts_smbios_type type)
 {	
 	if (type == FWTS_SMBIOS) {
-		fwts_log_info_verbatum(fw, "SMBIOS Entry Point Stucture:");
+		fwts_log_info_verbatum(fw, "SMBIOS Entry Point Structure:");
 		fwts_log_info_verbatum(fw, "  Anchor String          : %4.4s", entry->signature);
 		fwts_log_info_verbatum(fw, "  Checksum               : 0x%2.2x", entry->checksum);
 		fwts_log_info_verbatum(fw, "  Entry Point Length     : 0x%2.2x", entry->length);
@@ -37,7 +37,7 @@  static void smbios_dump_entry(fwts_framework *fw, fwts_smbios_entry *entry, fwts
 			entry->formatted_area[4]);
 	}
 	if (type == FWTS_SMBIOS_DMI_LEGACY)
-		fwts_log_info_verbatum(fw, "Legacy DMI Entry Point Stucture:");
+		fwts_log_info_verbatum(fw, "Legacy DMI Entry Point Structure:");
 
 	/* Common to SMBIOS and SMBIOS_DMI_LEGACY */
 	fwts_log_info_verbatum(fw, "  Intermediate Anchor    : %5.5s", (char *)entry->anchor_string);