lkml.org 
[lkml]   [2022]   [Aug]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.15 074/779] um: Remove straying parenthesis
    Date
    From: Benjamin Beichler <benjamin.beichler@uni-rostock.de>

    commit c6496e0a4a90d8149203c16323cff3fa46e422e7 upstream.

    Commit e3a33af812c6 ("um: fix and optimize xor select template for CONFIG64 and timetravel mode")
    caused a build regression when CONFIG_XOR_BLOCKS and CONFIG_UML_TIME_TRAVEL_SUPPORT
    are selected.
    Fix it by removing the straying parenthesis.

    Cc: stable@vger.kernel.org
    Fixes: e3a33af812c6 ("um: fix and optimize xor select template for CONFIG64 and timetravel mode")
    Signed-off-by: Benjamin Beichler <benjamin.beichler@uni-rostock.de>
    [rw: Added commit message]
    Signed-off-by: Richard Weinberger <richard@nod.at>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    ---
    arch/um/include/asm/xor.h | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/arch/um/include/asm/xor.h
    +++ b/arch/um/include/asm/xor.h
    @@ -18,7 +18,7 @@
    #undef XOR_SELECT_TEMPLATE
    /* pick an arbitrary one - measuring isn't possible with inf-cpu */
    #define XOR_SELECT_TEMPLATE(x) \
    - (time_travel_mode == TT_MODE_INFCPU ? TT_CPU_INF_XOR_DEFAULT : x))
    + (time_travel_mode == TT_MODE_INFCPU ? TT_CPU_INF_XOR_DEFAULT : x)
    #endif

    #endif

    \
     
     \ /
      Last update: 2022-08-15 20:23    [W:2.558 / U:0.484 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site