linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] kernel/sysctl.c: fix typo
@ 2019-01-04 21:47 Matteo Croce
  2019-01-07 22:08 ` Kees Cook
  0 siblings, 1 reply; 2+ messages in thread
From: Matteo Croce @ 2019-01-04 21:47 UTC (permalink / raw)
  To: Luis Chamberlain, Kees Cook; +Cc: linux-kernel, linux-fsdevel

Fix spelling mistake: "lenght" -> "length"

Signed-off-by: Matteo Croce <mcroce@redhat.com>
---
 kernel/sysctl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 1825f712e73b..6b2691f5d4c9 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -191,7 +191,7 @@ extern int no_unaligned_warning;
  * 	file position 0 and the value must be fully contained in the buffer
  * 	sent to the write syscall. If dealing with strings respect the file
  * 	position, but restrict this to the max length of the buffer, anything
- * 	passed the max lenght will be ignored. Multiple writes will append
+ * 	passed the max length will be ignored. Multiple writes will append
  * 	to the buffer.
  *
  * These write modes control how current file position affects the behavior of
-- 
2.20.1


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

* Re: [PATCH] kernel/sysctl.c: fix typo
  2019-01-04 21:47 [PATCH] kernel/sysctl.c: fix typo Matteo Croce
@ 2019-01-07 22:08 ` Kees Cook
  0 siblings, 0 replies; 2+ messages in thread
From: Kees Cook @ 2019-01-07 22:08 UTC (permalink / raw)
  To: Matteo Croce; +Cc: Luis Chamberlain, LKML, linux-fsdevel

On Fri, Jan 4, 2019 at 1:47 PM Matteo Croce <mcroce@redhat.com> wrote:
>
> Fix spelling mistake: "lenght" -> "length"
>
> Signed-off-by: Matteo Croce <mcroce@redhat.com>

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

-Kees

> ---
>  kernel/sysctl.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/kernel/sysctl.c b/kernel/sysctl.c
> index 1825f712e73b..6b2691f5d4c9 100644
> --- a/kernel/sysctl.c
> +++ b/kernel/sysctl.c
> @@ -191,7 +191,7 @@ extern int no_unaligned_warning;
>   *     file position 0 and the value must be fully contained in the buffer
>   *     sent to the write syscall. If dealing with strings respect the file
>   *     position, but restrict this to the max length of the buffer, anything
> - *     passed the max lenght will be ignored. Multiple writes will append
> + *     passed the max length will be ignored. Multiple writes will append
>   *     to the buffer.
>   *
>   * These write modes control how current file position affects the behavior of
> --
> 2.20.1
>


-- 
Kees Cook

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

end of thread, other threads:[~2019-01-07 22:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-04 21:47 [PATCH] kernel/sysctl.c: fix typo Matteo Croce
2019-01-07 22:08 ` 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).