Re: [PATCH] kernel/sysctl.c: fix typo

From: Kees Cook
Date: Mon Jan 07 2019 - 17:09:09 EST


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

Acked-by: Kees Cook <keescook@xxxxxxxxxxxx>

-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