Skip to contentSkip to conversation

speakup: synth: Fix checkpatch warning

PATCH In review Man Choy 2 participants 3 messages Feb 26, 2017 – Feb 28, 2017 Staging

lore
Share & tools
lore

Man Choy

author
#0 lore raw

PATCH 1/1 speakup: synth: Fix checkpatch warning

Fix following checkpatch warning:

WARNING: line over 80 characters
+ &synth->attributes) < 0)

total: 0 errors, 1 warnings, 485 lines checked

---
 drivers/staging/speakup/synth.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/speakup/synth.c +2 -2
index a61c02b..d984312 100644
@@ -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);
Signature · 1 line
2.7.4
maintainer
#1 lore raw
Quoted 10 lines · Man Choy

Fix following checkpatch warning:

WARNING: line over 80 characters
+ &synth->attributes) < 0)

total: 0 errors, 1 warnings, 485 lines checked

---
 drivers/staging/speakup/synth.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Someone else already did this before you did, sorry :(

greg k-h

author
#2 lore raw
Quoted 12 lines · Greg KH
Quoted 10 lines · Man Choy

Fix following checkpatch warning:

WARNING: line over 80 characters
+ &synth->attributes) < 0)

total: 0 errors, 1 warnings, 485 lines checked

---
 drivers/staging/speakup/synth.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Quoted 3 lines

Someone else already did this before you did, sorry :(

greg k-h

No worries. Thanks Greg.

Will look up other problem to solve.