lkml.org 
[lkml]   [2012]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 18/21] USB: serial: Changes to conform with checkpatch.sh script. spaces required around '?' and ':'.
    Date
    Removed 3 checkpatch.sh errors.

    Signed-off-by: Ben Minerds <puzzleduck@gmail.com>
    ---
    drivers/usb/serial/keyspan.c | 4 ++--
    1 files changed, 2 insertions(+), 2 deletions(-)
    diff --git a/drivers/usb/serial/keyspan.c b/drivers/usb/serial/keyspan.c
    index 7c7b53e..d4ae12d 100644
    --- a/drivers/usb/serial/keyspan.c
    +++ b/drivers/usb/serial/keyspan.c
    @@ -2219,7 +2219,7 @@ static int keyspan_usa90_send_setup(struct usb_serial *serial,
    msg.txMode = TXMODE_BYHAND;
    }

    - msg.lcr = (p_priv->cflag & CSTOPB)? STOPBITS_678_2: STOPBITS_5678_1;
    + msg.lcr = (p_priv->cflag & CSTOPB) ? STOPBITS_678_2 : STOPBITS_5678_1;
    switch (p_priv->cflag & CSIZE) {
    case CS5:
    msg.lcr |= USA_DATABITS_5;
    @@ -2236,7 +2236,7 @@ static int keyspan_usa90_send_setup(struct usb_serial *serial,
    }
    if (p_priv->cflag & PARENB) {
    /* note USA_PARITY_NONE == 0 */
    - msg.lcr |= (p_priv->cflag & PARODD)?
    + msg.lcr |= (p_priv->cflag & PARODD) ?
    USA_PARITY_ODD : USA_PARITY_EVEN;
    }
    if (p_priv->old_cflag != p_priv->cflag) {
    --
    1.7.2.5


    \
     
     \ /
      Last update: 2012-05-10 11:41    [from the cache]
    ©2003-2014 Jasper Spaans. Advertise on this site