speakup: synth: Fix checkpatch warning
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
@@ -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
Greg KH
maintainerQuoted 10 lines · Man Choy
Fix following checkpatch warning:
WARNING: line over 80 characters
+&synth->attributes) < 0)total: 0 errors, 1 warnings, 485 lines checked
Signed-off-by Man Choy <[email protected]>--- 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
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
Signed-off-by Man Choy <[email protected]>--- 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.