Patchwork [2/3] acpi: checksum: fix typo shorted -> shortened

login
register
mail settings
Submitter Colin King
Date Feb. 28, 2012, 11:07 a.m.
Message ID <1330427263-26803-3-git-send-email-colin.king@canonical.com>
Download mbox | patch
Permalink /patch/143401/
State Accepted
Headers show

Comments

Colin King - Feb. 28, 2012, 11:07 a.m.
From: Colin Ian King <colin.king@canonical.com>

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 src/acpi/checksum/checksum.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
Keng-Yu Lin - March 2, 2012, 11:36 a.m.
On Tue, Feb 28, 2012 at 7:07 PM, 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/acpi/checksum/checksum.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/acpi/checksum/checksum.c b/src/acpi/checksum/checksum.c
> index 726f0f1..77449cc 100644
> --- a/src/acpi/checksum/checksum.c
> +++ b/src/acpi/checksum/checksum.c
> @@ -34,7 +34,7 @@ static void checksum_rsdp(fwts_framework *fw, fwts_acpi_table_info *table)
>        if (table->length < 20) {
>                fwts_failed(fw, LOG_LEVEL_HIGH, "ACPITableCheckSumShortRSDP",
>                        "RSDP was expected to be at least 20 bytes long, "
> -                       "got a shorted size of %d bytes.",
> +                       "got a shortened size of %d bytes.",
>                        (int)table->length);
>                /* Won't test on a short RSDP */
>                return;
> @@ -60,7 +60,7 @@ static void checksum_rsdp(fwts_framework *fw, fwts_acpi_table_info *table)
>                        fwts_failed(fw, LOG_LEVEL_HIGH,
>                                "ACPITableCheckSumShortRSDP",
>                                "RSDP was expected to be %d bytes long, "
> -                               "got a shorted size of %d bytes.",
> +                               "got a shortened size of %d bytes.",
>                                (int)sizeof(fwts_acpi_table_rsdp),
>                                (int)table->length);
>                        /* Won't test on a short RSDP */
> --
> 1.7.9
>
Acked-by: Keng-Yu Lin <kengyu@canonical.com>
Alex Hung - March 8, 2012, 9:50 a.m.
On 02/28/2012 07:07 PM, Colin King wrote:
> From: Colin Ian King<colin.king@canonical.com>
>
> Signed-off-by: Colin Ian King<colin.king@canonical.com>
> ---
>   src/acpi/checksum/checksum.c |    4 ++--
>   1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/acpi/checksum/checksum.c b/src/acpi/checksum/checksum.c
> index 726f0f1..77449cc 100644
> --- a/src/acpi/checksum/checksum.c
> +++ b/src/acpi/checksum/checksum.c
> @@ -34,7 +34,7 @@ static void checksum_rsdp(fwts_framework *fw, fwts_acpi_table_info *table)
>   	if (table->length<  20) {
>   		fwts_failed(fw, LOG_LEVEL_HIGH, "ACPITableCheckSumShortRSDP",
>   			"RSDP was expected to be at least 20 bytes long, "
> -			"got a shorted size of %d bytes.",
> +			"got a shortened size of %d bytes.",
>   			(int)table->length);
>   		/* Won't test on a short RSDP */
>   		return;
> @@ -60,7 +60,7 @@ static void checksum_rsdp(fwts_framework *fw, fwts_acpi_table_info *table)
>   			fwts_failed(fw, LOG_LEVEL_HIGH,
>   				"ACPITableCheckSumShortRSDP",
>   				"RSDP was expected to be %d bytes long, "
> -				"got a shorted size of %d bytes.",
> +				"got a shortened size of %d bytes.",
>   				(int)sizeof(fwts_acpi_table_rsdp),
>   				(int)table->length);
>   			/* Won't test on a short RSDP */
Acked-by: Alex Hung <alex.hung@canonical.com>

Patch

diff --git a/src/acpi/checksum/checksum.c b/src/acpi/checksum/checksum.c
index 726f0f1..77449cc 100644
--- a/src/acpi/checksum/checksum.c
+++ b/src/acpi/checksum/checksum.c
@@ -34,7 +34,7 @@  static void checksum_rsdp(fwts_framework *fw, fwts_acpi_table_info *table)
 	if (table->length < 20) {
 		fwts_failed(fw, LOG_LEVEL_HIGH, "ACPITableCheckSumShortRSDP",
 			"RSDP was expected to be at least 20 bytes long, "
-			"got a shorted size of %d bytes.",
+			"got a shortened size of %d bytes.",
 			(int)table->length);
 		/* Won't test on a short RSDP */
 		return;
@@ -60,7 +60,7 @@  static void checksum_rsdp(fwts_framework *fw, fwts_acpi_table_info *table)
 			fwts_failed(fw, LOG_LEVEL_HIGH,
 				"ACPITableCheckSumShortRSDP",
 				"RSDP was expected to be %d bytes long, "
-				"got a shorted size of %d bytes.",
+				"got a shortened size of %d bytes.",
 				(int)sizeof(fwts_acpi_table_rsdp),
 				(int)table->length);
 			/* Won't test on a short RSDP */