linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] Fix multiple checkpatch issues
@ 2017-03-02 18:54 Arushi Singhal
  2017-03-02 18:54 ` [PATCH 1/4] staging: speakup: Placed Logical on the previous line Arushi Singhal
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Arushi Singhal @ 2017-03-02 18:54 UTC (permalink / raw)
  To: w.d.hubbs
  Cc: chris, outreachy-kernel, kirk, samuel.thibault, gregkh, speakup,
	devel, linux-kernel, Arushi Singhal

Improve readability by fixing multiple checkpatch.pl
issues in speakup driver.

Arushi Singhal (4):
  staging: speakup: Placed Logical on the previous line
  staging: speakup: spaces preferred around operator
  staging: speakup: identation should use tabs
  staging: speakup: Alignment should match open parenthesis

 drivers/staging/speakup/kobjects.c       | 16 ++++++++--------
 drivers/staging/speakup/main.c           | 10 +++++-----
 drivers/staging/speakup/selection.c      |  2 +-
 drivers/staging/speakup/serialio.c       |  6 +++---
 drivers/staging/speakup/speakup.h        | 12 ++++++------
 drivers/staging/speakup/speakup_acntpc.c | 10 +++++-----
 drivers/staging/speakup/speakup_apollo.c |  2 +-
 drivers/staging/speakup/speakup_decext.c |  4 ++--
 drivers/staging/speakup/speakup_decpc.c  | 22 +++++++++++-----------
 drivers/staging/speakup/speakup_dtlk.c   | 16 ++++++++--------
 drivers/staging/speakup/speakup_dtlk.h   | 10 +++++-----
 drivers/staging/speakup/speakup_keypc.c  | 12 ++++++------
 drivers/staging/speakup/speakup_ltlk.c   |  2 +-
 13 files changed, 62 insertions(+), 62 deletions(-)

-- 
2.11.0

^ permalink raw reply	[flat|nested] 7+ messages in thread
* [PATCH 1/4] staging: speakup: Placed Logical on the previous line
@ 2017-03-02 15:35 Arushi Singhal
  0 siblings, 0 replies; 7+ messages in thread
From: Arushi Singhal @ 2017-03-02 15:35 UTC (permalink / raw)
  To: w.d.hubbs
  Cc: chris, outreachy-kernel, kirk, samuel.thibault, gregkh, speakup,
	devel, linux-kernel, Arushi Singhal

Placed Logical continuations on the previous line as reported by
checkpatch.pl.

Signed-off-by: Arushi Singhal <arushisinghal19971997@gmail.com>
---
 drivers/staging/speakup/main.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/speakup/main.c b/drivers/staging/speakup/main.c
index a12ec2b061fe..25acebb9311f 100644
--- a/drivers/staging/speakup/main.c
+++ b/drivers/staging/speakup/main.c
@@ -2144,10 +2144,10 @@ speakup_key(struct vc_data *vc, int shift_state, int keycode, u_short keysym,
 	if (up_flag || spk_killed || type == KT_SHIFT)
 		goto out;
 	spk_shut_up &= 0xfe;
-	kh = (value == KVAL(K_DOWN))
-	    || (value == KVAL(K_UP))
-	    || (value == KVAL(K_LEFT))
-	    || (value == KVAL(K_RIGHT));
+	kh = (value == KVAL(K_DOWN)) ||
+	      (value == KVAL(K_UP))  ||
+	      (value == KVAL(K_LEFT)) ||
+	      (value == KVAL(K_RIGHT));
 	if ((cursor_track != read_all_mode) || !kh)
 		if (!spk_no_intr)
 			spk_do_flush();
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-03-03 11:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-02 18:54 [PATCH 0/4] Fix multiple checkpatch issues Arushi Singhal
2017-03-02 18:54 ` [PATCH 1/4] staging: speakup: Placed Logical on the previous line Arushi Singhal
2017-03-02 18:54 ` [PATCH 2/4] staging: speakup: spaces preferred around operator Arushi Singhal
2017-03-02 18:54 ` [PATCH 3/4] staging: speakup: identation should use tabs Arushi Singhal
2017-03-02 18:54 ` [PATCH 4/4] staging: speakup: Alignment should match open parenthesis Arushi Singhal
2017-03-03 11:49 ` [PATCH 0/4] Fix multiple checkpatch issues Dan Carpenter
  -- strict thread matches above, loose matches on Subject: below --
2017-03-02 15:35 [PATCH 1/4] staging: speakup: Placed Logical on the previous line Arushi Singhal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).