Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1605534

[PATCH 10/11] staging: speakup: Match alignment with open parenthesis.

From Arushi Singhal <arushisinghal19971997@gmail.com>
Newsgroups linux.kernel
Subject [PATCH 10/11] staging: speakup: Match alignment with open parenthesis.
Date 2017-03-21 12:50 +0100
Message-ID <tnqsz-2K1-41@gated-at.bofh.it> (permalink)
References <tnqsy-2K1-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Fix checkpatch issues: "CHECK: Alignment should match open parenthesis".

Signed-off-by: Arushi Singhal <arushisinghal19971997@gmail.com>
---
 drivers/staging/speakup/main.c           | 2 +-
 drivers/staging/speakup/selection.c      | 2 +-
 drivers/staging/speakup/serialio.c       | 2 +-
 drivers/staging/speakup/speakup_acntpc.c | 6 +++---
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/staging/speakup/main.c b/drivers/staging/speakup/main.c
index 7568e8149613..55bf7af1d6ea 100644
--- a/drivers/staging/speakup/main.c
+++ b/drivers/staging/speakup/main.c
@@ -1160,7 +1160,7 @@ static void spkup_write(const u16 *in_buf, int count)
 		if (last_type & CH_RPT) {
 			synth_printf(" ");
 			synth_printf(spk_msg_get(MSG_REPEAT_DESC2),
-					++rep_count);
+				     ++rep_count);
 			synth_printf(" ");
 		}
 		rep_count = 0;
diff --git a/drivers/staging/speakup/selection.c b/drivers/staging/speakup/selection.c
index 4417c00e68a7..08f68fc2864e 100644
--- a/drivers/staging/speakup/selection.c
+++ b/drivers/staging/speakup/selection.c
@@ -75,7 +75,7 @@ int speakup_set_selection(struct tty_struct *tty)
 		speakup_clear_selection();
 		spk_sel_cons = vc_cons[fg_console].d;
 		dev_warn(tty->dev,
-			"Selection: mark console not the same as cut\n");
+			 "Selection: mark console not the same as cut\n");
 		return -EINVAL;
 	}
 
diff --git a/drivers/staging/speakup/serialio.c b/drivers/staging/speakup/serialio.c
index e860e48818a4..5e31acac19de 100644
--- a/drivers/staging/speakup/serialio.c
+++ b/drivers/staging/speakup/serialio.c
@@ -125,7 +125,7 @@ static void start_serial_interrupt(int irq)
 		pr_err("Unable to request Speakup serial I R Q\n");
 	/* Set MCR */
 	outb(UART_MCR_DTR | UART_MCR_RTS | UART_MCR_OUT2,
-			speakup_info.port_tts + UART_MCR);
+	     speakup_info.port_tts + UART_MCR);
 	/* Turn on Interrupts */
 	outb(UART_IER_MSI|UART_IER_RLSI|UART_IER_RDI,
 			speakup_info.port_tts + UART_IER);
diff --git a/drivers/staging/speakup/speakup_acntpc.c b/drivers/staging/speakup/speakup_acntpc.c
index b4058bd82e42..ad72f8e883fc 100644
--- a/drivers/staging/speakup/speakup_acntpc.c
+++ b/drivers/staging/speakup/speakup_acntpc.c
@@ -261,9 +261,9 @@ static int synth_probe(struct spk_synth *synth)
 	if (port_forced) {
 		speakup_info.port_tts = port_forced;
 		pr_info("probe forced to %x by kernel command line\n",
-				speakup_info.port_tts);
+			speakup_info.port_tts);
 		if (synth_request_region(speakup_info.port_tts - 1,
-					SYNTH_IO_EXTENT)) {
+					 SYNTH_IO_EXTENT)) {
 			pr_warn("sorry, port already reserved\n");
 			return -EBUSY;
 		}
@@ -272,7 +272,7 @@ static int synth_probe(struct spk_synth *synth)
 	} else {
 		for (i = 0; synth_portlist[i]; i++) {
 			if (synth_request_region(synth_portlist[i],
-						SYNTH_IO_EXTENT)) {
+						 SYNTH_IO_EXTENT)) {
 				pr_warn
 				    ("request_region: failed with 0x%x, %d\n",
 				     synth_portlist[i], SYNTH_IO_EXTENT);
-- 
2.11.0

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[RESEND PATCH 00/11] staging:speakup: Multiple Checkpatch issues. Arushi Singhal <arushisinghal19971997@gmail.com> - 2017-03-21 12:50 +0100
  [PATCH 09/11] staging: speakup: Simplify the NULL comparisons Arushi Singhal <arushisinghal19971997@gmail.com> - 2017-03-21 12:50 +0100
    Re: [PATCH 09/11] staging: speakup: Simplify the NULL comparisons Greg KH <gregkh@linuxfoundation.org> - 2017-03-23 14:20 +0100
  [PATCH 11/11] staging: speakup: Fix alignment with parenthesis. Arushi Singhal <arushisinghal19971997@gmail.com> - 2017-03-21 12:50 +0100
    Re: [PATCH 11/11] staging: speakup: Fix alignment with parenthesis. Greg KH <gregkh@linuxfoundation.org> - 2017-03-23 14:30 +0100
  [PATCH 06/11] staging: speakup: Moved OR operator to previous line. Arushi Singhal <arushisinghal19971997@gmail.com> - 2017-03-21 12:50 +0100
  [PATCH 07/11] staging: speakup: spaces preferred around operator Arushi Singhal <arushisinghal19971997@gmail.com> - 2017-03-21 12:50 +0100
  [PATCH 03/11] staging: speakup: Simplify "NULL" comparisons Arushi Singhal <arushisinghal19971997@gmail.com> - 2017-03-21 12:50 +0100
  [PATCH 08/11] staging: speakup: Removed Unnecessary parentheses. Arushi Singhal <arushisinghal19971997@gmail.com> - 2017-03-21 12:50 +0100
  [PATCH 04/11] staging: speakup: fixes braces {} should be used on all arms of this statement Arushi Singhal <arushisinghal19971997@gmail.com> - 2017-03-21 12:50 +0100
  [PATCH 10/11] staging: speakup: Match alignment with open parenthesis. Arushi Singhal <arushisinghal19971997@gmail.com> - 2017-03-21 12:50 +0100
  [PATCH 02/11] staging: speakup: Remove multiple assignments Arushi Singhal <arushisinghal19971997@gmail.com> - 2017-03-21 12:50 +0100
    Re: [PATCH 02/11] staging: speakup: Remove multiple assignments Greg KH <gregkh@linuxfoundation.org> - 2017-03-23 14:20 +0100
  [PATCH 01/11] staging: speakup: Moved logical to previous line. Arushi Singhal <arushisinghal19971997@gmail.com> - 2017-03-21 12:50 +0100
  [PATCH 05/11] staging: speakup: Remove multiple assignments Arushi Singhal <arushisinghal19971997@gmail.com> - 2017-03-21 12:50 +0100
    Re: [PATCH 05/11] staging: speakup: Remove multiple assignments Greg KH <gregkh@linuxfoundation.org> - 2017-03-23 14:20 +0100
  Re: [RESEND PATCH 00/11] staging:speakup: Multiple Checkpatch issues. Greg KH <gregkh@linuxfoundation.org> - 2017-03-22 21:50 +0100

csiph-web