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


Groups > linux.kernel > #1520318

[PATCH] [STYLE 2/5]staging:speakup:synth.c Logical continuation previous

From Walt Feasel <waltfeasel@gmail.com>
Newsgroups linux.kernel
Subject [PATCH] [STYLE 2/5]staging:speakup:synth.c Logical continuation previous
Date 2016-11-12 19:10 +0100
Message-ID <sCKUy-5C9-37@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Made suggested modifications from checkpatch in reference
to CHECK: Logical continuations should be on the previous line

Signed-off-by: Walt Feasel <waltfeasel@gmail.com>
---
 drivers/staging/speakup/synth.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/speakup/synth.c b/drivers/staging/speakup/synth.c
index 800fbbf..a53bdce 100644
--- a/drivers/staging/speakup/synth.c
+++ b/drivers/staging/speakup/synth.c
@@ -406,8 +406,8 @@ static int do_synth_init(struct spk_synth *in_synth)
 		speakup_register_var(var);
 	if (!spk_quiet_boot)
 		synth_printf("%s found\n", synth->long_name);
-	if (synth->attributes.name
-	&& sysfs_create_group(speakup_kobj, &synth->attributes) < 0)
+	if (synth->attributes.name &&
+	    sysfs_create_group(speakup_kobj, &synth->attributes) < 0)
 		return -ENOMEM;
 	synth_flags = synth->flags;
 	wake_up_interruptible_all(&speakup_event);
-- 
2.1.4

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


Thread

[PATCH] [STYLE 2/5]staging:speakup:synth.c Logical continuation previous Walt Feasel <waltfeasel@gmail.com> - 2016-11-12 19:10 +0100

csiph-web