Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1715259 > unrolled thread

[PATCH][next] lkdtm: fix spelling mistake: "incremeted" -> "incremented"

Started byColin King <colin.king@canonical.com>
First post2017-08-18 17:40 +0200
Last post2017-08-18 18:30 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH][next] lkdtm:  fix spelling mistake: "incremeted" -> "incremented" Colin King <colin.king@canonical.com> - 2017-08-18 17:40 +0200
    Re: [PATCH][next] lkdtm: fix spelling mistake: "incremeted" -> "incremented" Kees Cook <keescook@chromium.org> - 2017-08-18 18:30 +0200

#1715259 — [PATCH][next] lkdtm: fix spelling mistake: "incremeted" -> "incremented"

FromColin King <colin.king@canonical.com>
Date2017-08-18 17:40 +0200
Subject[PATCH][next] lkdtm: fix spelling mistake: "incremeted" -> "incremented"
Message-ID<ufRxo-5DE-15@gated-at.bofh.it>
From: Colin Ian King <colin.king@canonical.com>

Trivial fix to spelling mistake in pr_info message

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/misc/lkdtm_refcount.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/misc/lkdtm_refcount.c b/drivers/misc/lkdtm_refcount.c
index 29af0152a337..2b99d448e7fd 100644
--- a/drivers/misc/lkdtm_refcount.c
+++ b/drivers/misc/lkdtm_refcount.c
@@ -202,7 +202,7 @@ static void check_from_zero(refcount_t *ref)
 		pr_warn("Zero detected: unsafely reset to max\n");
 		break;
 	default:
-		pr_info("Fail: zero not detected, incremeted to %d\n",
+		pr_info("Fail: zero not detected, incremented to %d\n",
 			refcount_read(ref));
 	}
 }
-- 
2.11.0

[toc] | [next] | [standalone]


#1715309 — Re: [PATCH][next] lkdtm: fix spelling mistake: "incremeted" -> "incremented"

FromKees Cook <keescook@chromium.org>
Date2017-08-18 18:30 +0200
SubjectRe: [PATCH][next] lkdtm: fix spelling mistake: "incremeted" -> "incremented"
Message-ID<ufSjM-6dn-25@gated-at.bofh.it>
In reply to#1715259
On Fri, Aug 18, 2017 at 8:34 AM, Colin King <colin.king@canonical.com> wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Trivial fix to spelling mistake in pr_info message
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Whoops, thanks!

Acked-by: Kees Cook <keescook@chromium.org>

Greg, can you please apply this for -next?

-Kees

> ---
>  drivers/misc/lkdtm_refcount.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/misc/lkdtm_refcount.c b/drivers/misc/lkdtm_refcount.c
> index 29af0152a337..2b99d448e7fd 100644
> --- a/drivers/misc/lkdtm_refcount.c
> +++ b/drivers/misc/lkdtm_refcount.c
> @@ -202,7 +202,7 @@ static void check_from_zero(refcount_t *ref)
>                 pr_warn("Zero detected: unsafely reset to max\n");
>                 break;
>         default:
> -               pr_info("Fail: zero not detected, incremeted to %d\n",
> +               pr_info("Fail: zero not detected, incremented to %d\n",
>                         refcount_read(ref));
>         }
>  }
> --
> 2.11.0
>



-- 
Kees Cook
Pixel Security

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web