lkml.org 
[lkml]   [2014]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4/9] sched: prio: Add spaces before and after operator of '-'.
    Date
    Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
    cc: Peter Zijlstra <peterz@infradead.org>
    cc: Ingo Molnar <mingo@kernel.org>
    ---
    include/linux/sched/prio.h | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/include/linux/sched/prio.h b/include/linux/sched/prio.h
    index ac32258..1bf9935 100644
    --- a/include/linux/sched/prio.h
    +++ b/include/linux/sched/prio.h
    @@ -37,7 +37,7 @@
    * can work with better when scaling various scheduler parameters,
    * it's a [ 0 ... 39 ] range.
    */
    -#define USER_PRIO(p) ((p)-MAX_RT_PRIO)
    +#define USER_PRIO(p) ((p) - MAX_RT_PRIO)
    #define TASK_USER_PRIO(p) USER_PRIO((p)->static_prio)
    #define MAX_USER_PRIO (USER_PRIO(MAX_PRIO))

    --
    1.8.2.1


    \
     
     \ /
      Last update: 2014-02-11 09:21    [W:4.175 / U:0.432 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site