Messages in this thread | | | Date | Wed, 24 Jul 2019 09:56:51 +0300 | From | Cyrill Gorcunov <> | Subject | Re: [PATCH v2] sys_prctl(): remove unsigned comparision with less than zero |
| |
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>
| |