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 43/45] staging: rts5208: rtxs_chip.h: Long lines
    Date
    Move comments above long definitions so they don't go over 80 characters

    Signed-off-by: Wayne Porter <wporter82@gmail.com>
    ---
    drivers/staging/rts5208/rtsx_chip.h | 16 ++++++++++------
    1 file changed, 10 insertions(+), 6 deletions(-)

    diff --git a/drivers/staging/rts5208/rtsx_chip.h b/drivers/staging/rts5208/rtsx_chip.h
    index aaf4fae..4f6e3c1 100644
    --- a/drivers/staging/rts5208/rtsx_chip.h
    +++ b/drivers/staging/rts5208/rtsx_chip.h
    @@ -130,16 +130,20 @@
    #define PRDCT_REV_LEN 4 /* Product LOT Length */

    /* Dynamic flag definitions: used in set_bit() etc. */
    -#define RTSX_FLIDX_TRANS_ACTIVE 18 /* 0x00040000 transfer is active */
    -#define RTSX_FLIDX_ABORTING 20 /* 0x00100000 abort is in progress */
    -#define RTSX_FLIDX_DISCONNECTING 21 /* 0x00200000 disconnect in progress */
    +/* 0x00040000 transfer is active */
    +#define RTSX_FLIDX_TRANS_ACTIVE 18
    +/* 0x00100000 abort is in progress */
    +#define RTSX_FLIDX_ABORTING 20
    +/* 0x00200000 disconnect in progress */
    +#define RTSX_FLIDX_DISCONNECTING 21

    #define ABORTING_OR_DISCONNECTING ((1UL << US_FLIDX_ABORTING) | \
    (1UL << US_FLIDX_DISCONNECTING))

    -#define RTSX_FLIDX_RESETTING 22 /* 0x00400000 device reset in progress */
    -#define RTSX_FLIDX_TIMED_OUT 23 /* 0x00800000 SCSI midlayer timed out */
    -
    +/* 0x00400000 device reset in progress */
    +#define RTSX_FLIDX_RESETTING 22
    +/* 0x00800000 SCSI midlayer timed out */
    +#define RTSX_FLIDX_TIMED_OUT 23
    #define DRCT_ACCESS_DEV 0x00 /* Direct Access Device */
    #define RMB_DISC 0x80 /* The Device is Removable */
    #define ANSI_SCSI2 0x02 /* Based on ANSI-SCSI2 */
    --
    2.1.4
    \
     
     \ /
      Last update: 2016-10-12 00:02    [W:4.158 / U:0.040 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site