aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/staging/speakup
diff options
context:
space:
mode:
authorJules Irenge <jbi.octave@gmail.com>2019-03-17 12:31:10 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-03-18 07:47:53 +0100
commit83053c3eabd7f1cb8bd2220e394d33b742704181 (patch)
tree18311138c35247e3585a3a4cdee95223c41e6b4d /drivers/staging/speakup
parentstaging: rtl8188eu: core: rtw_ap.c: Fix multiple blank lines (diff)
downloadwireguard-linux-83053c3eabd7f1cb8bd2220e394d33b742704181.tar.xz
wireguard-linux-83053c3eabd7f1cb8bd2220e394d33b742704181.zip
staging: speakup: fix line over 80 characters.
Fix coding style issues which solves checkpatch.pl warning: "WARNING: line over 80 characters". Signed-off-by: Jules Irenge <jbi.octave@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/speakup')
-rw-r--r--drivers/staging/speakup/kobjects.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/drivers/staging/speakup/kobjects.c b/drivers/staging/speakup/kobjects.c
index 11c704b27c3c..f653c16eb4e5 100644
--- a/drivers/staging/speakup/kobjects.c
+++ b/drivers/staging/speakup/kobjects.c
@@ -154,7 +154,10 @@ static ssize_t chars_chartab_store(struct kobject *kobj,
continue;
}
- /* Do not replace with kstrtoul: here we need temp to be updated */
+ /*
+ * Do not replace with kstrtoul:
+ * here we need temp to be updated
+ */
index = simple_strtoul(cp, &temp, 10);
if (index > 255) {
rejected++;
@@ -788,7 +791,10 @@ static ssize_t message_store_helper(const char *buf, size_t count,
continue;
}
- /* Do not replace with kstrtoul: here we need temp to be updated */
+ /*
+ * Do not replace with kstrtoul:
+ * here we need temp to be updated
+ */
index = simple_strtoul(cp, &temp, 10);
while ((temp < linefeed) && (*temp == ' ' || *temp == '\t'))