Re: [PATCH] kernel:sys: Fix typo issue
From: Randy Dunlap
Date: Tue Mar 16 2021 - 15:04:56 EST
On 3/16/21 4:29 AM, Xiaofeng Cao wrote:
> From: Xiaofeng Cao <caoxiaofeng@xxxxxxxxxx>
>
> change 'infite' to 'infinite'
> change 'concurent' to 'concurrent'
> change 'memvers' to 'members'
> change 'decendants' to 'descendants'
> change 'argumets' to 'arguments'
>
> Signed-off-by: Xiaofeng Cao <caoxiaofeng@xxxxxxxxxx>
> ---
> kernel/sys.c | 14 +++++++-------
> 1 file changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/kernel/sys.c b/kernel/sys.c
> index 2e2e3f378d97..ecc2f2efc31b 100644
> --- a/kernel/sys.c
> +++ b/kernel/sys.c
> @@ -1584,7 +1584,7 @@ int do_prlimit(struct task_struct *tsk, unsigned int resource,
>
> /*
> * RLIMIT_CPU handling. Arm the posix CPU timer if the limit is not
> - * infite. In case of RLIM_INFINITY the posix CPU timer code
> + * infinite. In case of RLIM_INFINITY the posix CPU timer code
> * ignores the rlimit.
> */
> if (!retval && new_rlim && resource == RLIMIT_CPU &&
It would be better to change "posix" to "POSIX" also.
Anyway:
Acked-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
thanks.
--
~Randy