lkml.org 
[lkml]   [2016]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 32/45] staging: rts5208: rtsx.c: Spacing
    Date
    Add spaces around operator for readability

    Signed-off-by: Wayne Porter <wporter82@gmail.com>
    ---
    drivers/staging/rts5208/rtsx.c | 5 ++++-
    1 file changed, 4 insertions(+), 1 deletion(-)

    diff --git a/drivers/staging/rts5208/rtsx.c b/drivers/staging/rts5208/rtsx.c
    index c88200b..f611d3d 100644
    --- a/drivers/staging/rts5208/rtsx.c
    +++ b/drivers/staging/rts5208/rtsx.c
    @@ -122,7 +122,10 @@ static int slave_configure(struct scsi_device *sdev)
    /* we use this macro to help us write into the buffer */
    #undef SPRINTF
    #define SPRINTF(args...) \
    - do { if (pos < buffer+length) pos += sprintf(pos, ## args); } while (0)
    + do { \
    + if (pos < buffer + length) \
    + pos += sprintf(pos, ## args); \
    + } while (0)

    /* queue a command */
    /* This is always called with scsi_lock(host) held */
    --
    2.1.4
    \
     
     \ /
      Last update: 2016-10-12 00:03    [W:7.137 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site