[PATCH] staging: fwserial: fix checkpatch alignment check

Abdul Rauf abdulraufmujahid at gmail.com
Sun Jan 1 01:00:59 UTC 2017


Fix the following checks:
Alignment should match open parenthesis.

Signed-off-by: Abdul Rauf <abdulraufmujahid at gmail.com>
---
 drivers/staging/fwserial/fwserial.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/fwserial/fwserial.c b/drivers/staging/fwserial/fwserial.c
index 41a49c8194e5..cb4e361fc545 100644
--- a/drivers/staging/fwserial/fwserial.c
+++ b/drivers/staging/fwserial/fwserial.c
@@ -1344,8 +1344,9 @@ static int fwtty_break_ctl(struct tty_struct *tty, int state)
 	if (state == -1) {
 		set_bit(STOP_TX, &port->flags);
 		ret = wait_event_interruptible_timeout(port->wait_tx,
-					       !test_bit(IN_TX, &port->flags),
-					       10);
+						       !test_bit(IN_TX,
+								 &port->flags),
+									    10);
 		if (ret == 0 || ret == -ERESTARTSYS) {
 			clear_bit(STOP_TX, &port->flags);
 			fwtty_restart_tx(port);
-- 
2.11.0



More information about the devel mailing list