Skip to contentSkip to conversation

staging: speakup: fix line over 80 characters.

PATCH New Jules Irenge 1 participant 1 message Mar 17, 2019 Staging

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 staging: speakup: fix line over 80 characters.

Fix coding style issues which solves checkpatch.pl warning:
"WARNING: line over 80 characters".

---
This version line wrap the comments without losing the full meaning

 drivers/staging/speakup/kobjects.c | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
drivers/staging/speakup/kobjects.c +8 -2
index 11c704b27c3c..f653c16eb4e5 100644
@@ -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'))
Signature · 1 line
2.20.1