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


Groups > linux.kernel > #1596345

[PATCH 2/6] staging: speakup: Placed Logical on the previous line

From Arushi Singhal <arushisinghal19971997@gmail.com>
Newsgroups linux.kernel
Subject [PATCH 2/6] staging: speakup: Placed Logical on the previous line
Date 2017-03-09 20:10 +0100
Message-ID <tjbBL-10C-21@gated-at.bofh.it> (permalink)
References <tjbBL-10C-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

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


Thread

[PATCH 0/6] staging: speakup: multiple checkpatch issues Arushi Singhal <arushisinghal19971997@gmail.com> - 2017-03-09 20:10 +0100
  [PATCH 3/6] staging: speakup: spaces preferred around operator Arushi Singhal <arushisinghal19971997@gmail.com> - 2017-03-09 20:10 +0100
  [PATCH 2/6] staging: speakup: Placed Logical on the previous line Arushi Singhal <arushisinghal19971997@gmail.com> - 2017-03-09 20:10 +0100
  [PATCH 1/6] staging: speakup: fix "Alignment match open parenthesis" Arushi Singhal <arushisinghal19971997@gmail.com> - 2017-03-09 20:10 +0100
  [PATCH 6/6] staging: speakup: Add blank line after function/struct/union/enum declarations Arushi Singhal <arushisinghal19971997@gmail.com> - 2017-03-09 20:10 +0100
  [PATCH 5/6] staging: speakup: Alignment should match open parenthesis Arushi Singhal <arushisinghal19971997@gmail.com> - 2017-03-09 20:10 +0100
    Re: [Outreachy kernel] [PATCH 5/6] staging: speakup: Alignment should  match open parenthesis Julia Lawall <julia.lawall@lip6.fr> - 2017-03-09 22:40 +0100
  [PATCH 4/6] staging: speakup: identation should use tabs Arushi Singhal <arushisinghal19971997@gmail.com> - 2017-03-09 20:10 +0100

csiph-web