All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cyrill Gorcunov <gorcunov@gmail.com>
To: Yang Xu <xuyang2018.jy@cn.fujitsu.com>
Cc: akpm@linux-foundation.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] sys_prctl(): remove unsigned comparision with less than zero
Date: Wed, 24 Jul 2019 09:56:51 +0300	[thread overview]
Message-ID: <20190724065651.GJ4832@uranus.lan> (raw)
In-Reply-To: <1563934308-20833-1-git-send-email-xuyang2018.jy@cn.fujitsu.com>

On Wed, Jul 24, 2019 at 10:11:48AM +0800, Yang Xu wrote:
> Currently, when calling prctl(PR_SET_TIMERSLACK, arg2), arg2 is an
> unsigned long value, arg2 will never < 0. Negative judgment is
> meaningless, so remove it.
> 
> Fixes: 6976675d9404 ("hrtimer: create a "timer_slack" field in the task struct")
> Signed-off-by: Yang Xu <xuyang2018.jy@cn.fujitsu.com>
> Cc: Cyrill Gorcunov <gorcunov@gmail.com>
Acked-by: Cyrill Gorcunov <gorcunov@gmail.com>

  reply	other threads:[~2019-07-24  6:57 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-23  3:30 [PATCH] sys_prctl(): simplify arg2 judgment when calling PR_SET_TIMERSLACK Yang Xu
2019-07-23  7:23 ` Cyrill Gorcunov
2019-07-23  8:11   ` Yang Xu
2019-07-23  9:48     ` Cyrill Gorcunov
2019-07-24  2:11       ` [PATCH v2] sys_prctl(): remove unsigned comparision with less than zero Yang Xu
2019-07-24  6:56         ` Cyrill Gorcunov [this message]
2019-07-25  2:14         ` Andrew Morton
2019-07-25  3:10           ` Yang Xu
2019-07-30  8:48             ` Yang Xu

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=20190724065651.GJ4832@uranus.lan \
    --to=gorcunov@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=xuyang2018.jy@cn.fujitsu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.