mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@infradead.org>
To: Xiaofeng Cao <cxfcosmos@gmail.com>,
	christian.brauner@ubuntu.com, akpm@linux-foundation.org
Cc: walken@google.com, tglx@linutronix.de,
	linux-kernel@vger.kernel.org,
	Xiaofeng Cao <caoxiaofeng@yulong.com>
Subject: Re: [PATCH] kernel:sys: Fix typo issue
Date: Tue, 16 Mar 2021 12:04:11 -0700	[thread overview]
Message-ID: <fb826420-dcf4-9c98-90ec-cec604cb307b@infradead.org> (raw)
In-Reply-To: <20210316112904.10661-1-cxfcosmos@gmail.com>

On 3/16/21 4:29 AM, Xiaofeng Cao wrote:
> From: Xiaofeng Cao <caoxiaofeng@yulong.com>
> 
> 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@yulong.com>
> ---
>  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@infradead.org>


thanks.
-- 
~Randy


      reply	other threads:[~2021-03-16 19:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-16 11:29 Xiaofeng Cao
2021-03-16 19:04 ` Randy Dunlap [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fb826420-dcf4-9c98-90ec-cec604cb307b@infradead.org \
    --to=rdunlap@infradead.org \
    --cc=akpm@linux-foundation.org \
    --cc=caoxiaofeng@yulong.com \
    --cc=christian.brauner@ubuntu.com \
    --cc=cxfcosmos@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tglx@linutronix.de \
    --cc=walken@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®