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


Groups > linux.kernel > #1591413

[PATCH 1/4] staging: speakup: Placed Logical on the previous line

From Arushi Singhal <arushisinghal19971997@gmail.com>
Newsgroups linux.kernel
Subject [PATCH 1/4] staging: speakup: Placed Logical on the previous line
Date 2017-03-02 20:30 +0100
Message-ID <tgEAh-6OF-7@gated-at.bofh.it> (permalink)
References <tgEgV-6Ib-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 | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/4] Fix multiple checkpatch issues Arushi Singhal <arushisinghal19971997@gmail.com> - 2017-03-02 20:10 +0100
  [PATCH 1/4] staging: speakup: Placed Logical on the previous line Arushi Singhal <arushisinghal19971997@gmail.com> - 2017-03-02 20:30 +0100
  [PATCH 2/4] staging: speakup: spaces preferred around operator Arushi Singhal <arushisinghal19971997@gmail.com> - 2017-03-02 21:10 +0100
  [PATCH 4/4] staging: speakup: Alignment should match open parenthesis Arushi Singhal <arushisinghal19971997@gmail.com> - 2017-03-03 04:50 +0100
  Re: [PATCH 0/4] Fix multiple checkpatch issues Dan Carpenter <dan.carpenter@oracle.com> - 2017-03-03 13:00 +0100

csiph-web