Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1586968
| From | Man Choy <manchoyy@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] Staging: speakup: synth: Fix checkpatch warning |
| Date | 2017-02-23 16:50 +0100 |
| Message-ID | <te3Ox-3bZ-13@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Fix following warning:
WARNING: line over 80 characters
+ &synth->attributes) < 0)
Signed-off-by: Man Choy <manchoyy@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 a61c02b..968d8b6 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.7.4
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH] Staging: speakup: synth: Fix checkpatch warning Man Choy <manchoyy@gmail.com> - 2017-02-23 16:50 +0100
csiph-web