[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1454175887-16158-14-git-send-email-m.othacehe@gmail.com>
Date: Sat, 30 Jan 2016 18:44:46 +0100
From: Mathieu OTHACEHE <m.othacehe@...il.com>
To: johan@...nel.org, gregkh@...uxfoundation.org
Cc: linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org,
Mathieu OTHACEHE <m.othacehe@...il.com>
Subject: [PATCH 13/14] USB: serial: f81232: move constants to right
This patch fixes the following coccinelle warning:
drivers/usb/serial/f81232.c:193:7-20: Move constant to right.
Signed-off-by: Mathieu OTHACEHE <m.othacehe@...il.com>
---
drivers/usb/serial/f81232.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/serial/f81232.c b/drivers/usb/serial/f81232.c
index 972f5a5..589d856 100644
--- a/drivers/usb/serial/f81232.c
+++ b/drivers/usb/serial/f81232.c
@@ -190,7 +190,7 @@ static int f81232_set_mctrl(struct usb_serial_port *port,
/* force enable interrupt with OUT2 */
mutex_lock(&priv->lock);
- val = UART_MCR_OUT2 | priv->modem_control;
+ val = priv->modem_control | UART_MCR_OUT2;
if (clear & TIOCM_DTR)
val &= ~UART_MCR_DTR;
--
2.6.4
Powered by blists - more mailing lists