Patchwork bios: mtrr: fix stupid typos

login
register
mail settings
Submitter Colin King
Date July 23, 2012, 5:30 p.m.
Message ID <1343064649-10217-1-git-send-email-colin.king@canonical.com>
Download mbox | patch
Permalink /patch/172727/
State Accepted
Headers show

Comments

Colin King - July 23, 2012, 5:30 p.m.
From: Colin Ian King <colin.king@canonical.com>

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 src/bios/mtrr/mtrr.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Keng-Yu Lin - July 24, 2012, 10:45 a.m.
On Tue, Jul 24, 2012 at 1:30 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/mtrr/mtrr.c |    6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/src/bios/mtrr/mtrr.c b/src/bios/mtrr/mtrr.c
> index 4da0fda..4818c64 100644
> --- a/src/bios/mtrr/mtrr.c
> +++ b/src/bios/mtrr/mtrr.c
> @@ -567,17 +567,17 @@ static int mtrr_test2(fwts_framework *fw)
>                 int failed = 0;
>
>                 if (fwts_klog_regex_find(fw, klog, "mtrr: your CPUs had inconsistent fixed MTRR settings") > 0) {
> -                       fwts_log_info(fw, "Detected CPUs with inconsitent fixed MTRR settings which the kernel fixed.");
> +                       fwts_log_info(fw, "Detected CPUs with inconsistent fixed MTRR settings which the kernel fixed.");
>                         fwts_tag_failed(fw, FWTS_TAG_BIOS);
>                         failed = 1;
>                 }
>                 if (fwts_klog_regex_find(fw, klog, "mtrr: your CPUs had inconsistent variable MTRR settings") > 0) {
> -                       fwts_log_info(fw, "Detected CPUs with inconsitent variable MTRR settings which the kernel fixed.");
> +                       fwts_log_info(fw, "Detected CPUs with inconsistent variable MTRR settings which the kernel fixed.");
>                         fwts_tag_failed(fw, FWTS_TAG_BIOS);
>                         failed = 1;
>                 }
>                 if (fwts_klog_regex_find(fw, klog, "mtrr: your CPUs had inconsistent MTRRdefType") > 0) {
> -                       fwts_log_info(fw, "Detected CPUs with inconsitent variable MTRR settings which the kernel fixed.");
> +                       fwts_log_info(fw, "Detected CPUs with inconsistent variable MTRR settings which the kernel fixed.");
>                         fwts_tag_failed(fw, FWTS_TAG_BIOS);
>                         failed = 1;
>                 }
> --
> 1.7.10.4
>
Acked-by: Keng-Yu Lin <kengyu@canonical.com>
Ivan Hu - July 25, 2012, 8:05 a.m.
On 07/24/2012 01:30 AM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>   src/bios/mtrr/mtrr.c |    6 +++---
>   1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/src/bios/mtrr/mtrr.c b/src/bios/mtrr/mtrr.c
> index 4da0fda..4818c64 100644
> --- a/src/bios/mtrr/mtrr.c
> +++ b/src/bios/mtrr/mtrr.c
> @@ -567,17 +567,17 @@ static int mtrr_test2(fwts_framework *fw)
>   		int failed = 0;
>
>   		if (fwts_klog_regex_find(fw, klog, "mtrr: your CPUs had inconsistent fixed MTRR settings") > 0) {
> -			fwts_log_info(fw, "Detected CPUs with inconsitent fixed MTRR settings which the kernel fixed.");
> +			fwts_log_info(fw, "Detected CPUs with inconsistent fixed MTRR settings which the kernel fixed.");
>   			fwts_tag_failed(fw, FWTS_TAG_BIOS);
>   			failed = 1;
>   		}
>   		if (fwts_klog_regex_find(fw, klog, "mtrr: your CPUs had inconsistent variable MTRR settings") > 0) {
> -			fwts_log_info(fw, "Detected CPUs with inconsitent variable MTRR settings which the kernel fixed.");
> +			fwts_log_info(fw, "Detected CPUs with inconsistent variable MTRR settings which the kernel fixed.");
>   			fwts_tag_failed(fw, FWTS_TAG_BIOS);
>   			failed = 1;
>   		}
>   		if (fwts_klog_regex_find(fw, klog, "mtrr: your CPUs had inconsistent MTRRdefType") > 0) {
> -			fwts_log_info(fw, "Detected CPUs with inconsitent variable MTRR settings which the kernel fixed.");
> +			fwts_log_info(fw, "Detected CPUs with inconsistent variable MTRR settings which the kernel fixed.");
>   			fwts_tag_failed(fw, FWTS_TAG_BIOS);
>   			failed = 1;
>   		}
>

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

Patch

diff --git a/src/bios/mtrr/mtrr.c b/src/bios/mtrr/mtrr.c
index 4da0fda..4818c64 100644
--- a/src/bios/mtrr/mtrr.c
+++ b/src/bios/mtrr/mtrr.c
@@ -567,17 +567,17 @@  static int mtrr_test2(fwts_framework *fw)
 		int failed = 0;
 
 		if (fwts_klog_regex_find(fw, klog, "mtrr: your CPUs had inconsistent fixed MTRR settings") > 0) {
-			fwts_log_info(fw, "Detected CPUs with inconsitent fixed MTRR settings which the kernel fixed.");
+			fwts_log_info(fw, "Detected CPUs with inconsistent fixed MTRR settings which the kernel fixed.");
 			fwts_tag_failed(fw, FWTS_TAG_BIOS);
 			failed = 1;
 		}
 		if (fwts_klog_regex_find(fw, klog, "mtrr: your CPUs had inconsistent variable MTRR settings") > 0) {
-			fwts_log_info(fw, "Detected CPUs with inconsitent variable MTRR settings which the kernel fixed.");
+			fwts_log_info(fw, "Detected CPUs with inconsistent variable MTRR settings which the kernel fixed.");
 			fwts_tag_failed(fw, FWTS_TAG_BIOS);
 			failed = 1;
 		}
 		if (fwts_klog_regex_find(fw, klog, "mtrr: your CPUs had inconsistent MTRRdefType") > 0) {
-			fwts_log_info(fw, "Detected CPUs with inconsitent variable MTRR settings which the kernel fixed.");
+			fwts_log_info(fw, "Detected CPUs with inconsistent variable MTRR settings which the kernel fixed.");
 			fwts_tag_failed(fw, FWTS_TAG_BIOS);
 			failed = 1;
 		}