Skip to contentSkip to conversation

staging: fwserial: fix alignment of function parameters

PATCH In review Prakash Dubey 2 participants 2 messages Feb 19, 2021 Staging

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 staging: fwserial: fix alignment of function parameters

This patch fixes the following checkpatch.pl check:

CHECK: Alignment should match open parenthesis

---
 drivers/staging/fwserial/fwserial.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/fwserial/fwserial.c +2 -2
index a92741b8b6c6..137e97c9406c 100644
@@ -1318,8 +1318,8 @@ 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);
Signature · 1 line
2.25.1
maintainer
#1 lore raw
Quoted 26 lines · Prakash Dubey

This patch fixes the following checkpatch.pl check:

CHECK: Alignment should match open parenthesis

---
 drivers/staging/fwserial/fwserial.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/fwserial/fwserial.c +2 -2
index a92741b8b6c6..137e97c9406c 100644
@@ -1318,8 +1318,8 @@ 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);
Signature · 1 line
2.25.1

Does not apply to my tree at all, please be sure to always work off of linux-next or my staging-next tree so as not to duplicate work that others have already done.

thanks,

greg k-h