Re: [PATCH] staging: fwserial: match alignment with open parenthesis

2021-02-19 Thread Greg KH
On Thu, Feb 18, 2021 at 10:43:33PM +0300, Nikolay Kyx wrote:
> fwserial.c:

Why is this here?

> fix CHECK: Alignment should match open parenthesis

What does this mean?

Please read the section entitled "The canonical patch format" in the
kernel file, Documentation/SubmittingPatches for what is needed in order
to properly describe the change.

thanks,

greg k-h


[PATCH] staging: fwserial: match alignment with open parenthesis

2021-02-18 Thread Nikolay Kyx
fwserial.c:

fix CHECK: Alignment should match open parenthesis

Signed-off-by: Nikolay Kyx 
---
 drivers/staging/fwserial/fwserial.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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