[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1488086559-10989-1-git-send-email-manchoyy@gmail.com>
Date: Sun, 26 Feb 2017 13:22:18 +0800
From: Man Choy <manchoyy@...il.com>
To: gregkh@...uxfoundation.org
Cc: Man Choy <manchoyy@...il.com>, William Hubbs <w.d.hubbs@...il.com>,
Chris Brannon <chris@...-brannons.com>,
Kirk Reiser <kirk@...sers.ca>,
Samuel Thibault <samuel.thibault@...-lyon.org>,
Walt Feasel <waltfeasel@...il.com>,
Katie Dunne <kdunne@...l.ccsf.edu>,
Colin Ian King <colin.king@...onical.com>,
Amitoj Kaur Chawla <amitoj1606@...il.com>,
speakup@...ux-speakup.org, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] 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
Signed-off-by: Man Choy <manchoyy@...il.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..d984312 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
Powered by blists - more mailing lists