linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH][next] lkdtm:  fix spelling mistake: "incremeted" -> "incremented"
@ 2017-08-18 15:34 Colin King
  2017-08-18 16:29 ` Kees Cook
  0 siblings, 1 reply; 2+ messages in thread
From: Colin King @ 2017-08-18 15:34 UTC (permalink / raw)
  To: Arnd Bergmann, Greg Kroah-Hartman, Kees Cook; +Cc: linux-kernel

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH][next] lkdtm: fix spelling mistake: "incremeted" -> "incremented"
  2017-08-18 15:34 [PATCH][next] lkdtm: fix spelling mistake: "incremeted" -> "incremented" Colin King
@ 2017-08-18 16:29 ` Kees Cook
  0 siblings, 0 replies; 2+ messages in thread
From: Kees Cook @ 2017-08-18 16:29 UTC (permalink / raw)
  To: Colin King, Greg Kroah-Hartman; +Cc: Arnd Bergmann, LKML

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-08-18 16:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-18 15:34 [PATCH][next] lkdtm: fix spelling mistake: "incremeted" -> "incremented" Colin King
2017-08-18 16:29 ` Kees Cook

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).