Patchwork acpi: pcc: fix some stupid typos

login
register
mail settings
Submitter Colin King
Date Dec. 20, 2012, 3:56 p.m.
Message ID <1356019012-22625-1-git-send-email-colin.king@canonical.com>
Download mbox | patch
Permalink /patch/207679/
State Accepted
Headers show

Comments

Colin King - Dec. 20, 2012, 3:56 p.m.
From: Colin Ian King <colin.king@canonical.com>

Fix a couple of spelling mistakes made by myself.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 src/acpi/pcc/pcc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Alex Hung - Dec. 21, 2012, 2:28 a.m.
On 12/20/2012 11:56 PM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Fix a couple of spelling mistakes made by myself.
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>   src/acpi/pcc/pcc.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/acpi/pcc/pcc.c b/src/acpi/pcc/pcc.c
> index 8741e0b..078601b 100644
> --- a/src/acpi/pcc/pcc.c
> +++ b/src/acpi/pcc/pcc.c
> @@ -213,7 +213,7 @@ static void pcc_check_shared_memory_region(
>
>   	if (pcc_mr->minimum & 4095) {
>   		fwts_failed(fw, LOG_LEVEL_HIGH, "PCCMemoryNotPageAligned",
> -			"PCC Memory Resource Minumum Address is not page aligned. It must "
> +			"PCC Memory Resource Minimum Address is not page aligned. It must "
>   			"start on a 4K page boundary.");
>   		*failed = true;
>   	}
> @@ -403,7 +403,7 @@ static void pcc_check_buffer(
>   	pcc_check_doorbell_write_mask(fw, name, &obj->Package.Elements[3], &failed);
>
>   	if (!failed)
> -		fwts_passed(fw, "PCC pased; %s returned sane looking data structures.", name);
> +		fwts_passed(fw, "PCC passed; %s returned sane looking data structures.", name);
>   }
>
>   static int pcc_test1(fwts_framework *fw)
>
Acked-by: Alex Hung <alex.hung@canonical.com>
Keng-Yu Lin - Dec. 21, 2012, 6:08 a.m.
On Thu, Dec 20, 2012 at 11:56 PM, Colin King <colin.king@canonical.com> wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Fix a couple of spelling mistakes made by myself.
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  src/acpi/pcc/pcc.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/acpi/pcc/pcc.c b/src/acpi/pcc/pcc.c
> index 8741e0b..078601b 100644
> --- a/src/acpi/pcc/pcc.c
> +++ b/src/acpi/pcc/pcc.c
> @@ -213,7 +213,7 @@ static void pcc_check_shared_memory_region(
>
>         if (pcc_mr->minimum & 4095) {
>                 fwts_failed(fw, LOG_LEVEL_HIGH, "PCCMemoryNotPageAligned",
> -                       "PCC Memory Resource Minumum Address is not page aligned. It must "
> +                       "PCC Memory Resource Minimum Address is not page aligned. It must "
>                         "start on a 4K page boundary.");
>                 *failed = true;
>         }
> @@ -403,7 +403,7 @@ static void pcc_check_buffer(
>         pcc_check_doorbell_write_mask(fw, name, &obj->Package.Elements[3], &failed);
>
>         if (!failed)
> -               fwts_passed(fw, "PCC pased; %s returned sane looking data structures.", name);
> +               fwts_passed(fw, "PCC passed; %s returned sane looking data structures.", name);
>  }
>
>  static int pcc_test1(fwts_framework *fw)
> --
> 1.8.0
>
Acked-by: Keng-Yu Lin <kengyu@canonical.com>

Patch

diff --git a/src/acpi/pcc/pcc.c b/src/acpi/pcc/pcc.c
index 8741e0b..078601b 100644
--- a/src/acpi/pcc/pcc.c
+++ b/src/acpi/pcc/pcc.c
@@ -213,7 +213,7 @@  static void pcc_check_shared_memory_region(
 
 	if (pcc_mr->minimum & 4095) {
 		fwts_failed(fw, LOG_LEVEL_HIGH, "PCCMemoryNotPageAligned",
-			"PCC Memory Resource Minumum Address is not page aligned. It must "
+			"PCC Memory Resource Minimum Address is not page aligned. It must "
 			"start on a 4K page boundary.");
 		*failed = true;
 	}
@@ -403,7 +403,7 @@  static void pcc_check_buffer(
 	pcc_check_doorbell_write_mask(fw, name, &obj->Package.Elements[3], &failed);
 
 	if (!failed)
-		fwts_passed(fw, "PCC pased; %s returned sane looking data structures.", name);
+		fwts_passed(fw, "PCC passed; %s returned sane looking data structures.", name);
 }
 
 static int pcc_test1(fwts_framework *fw)