1
0
Fork 0

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>
hifive-unleashed-5.2
Jules Irenge 2019-03-17 12:31:10 +00:00 committed by Greg Kroah-Hartman
parent 42f56fef67
commit 83053c3eab
1 changed files with 8 additions and 2 deletions

View File

@ -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'))