staging: speakup: line over 80 characters
PATCH 1/1 staging: speakup: line over 80 characters
Fix line over 80 characters issue of filedrivers/staging/speakup/kobjects.c
--- drivers/staging/speakup/kobjects.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/speakup/kobjects.c +2 -2
@@ -154,7 +154,7 @@ 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 +788,7 @@ 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.7.4
Quoted 2 lines · Payal Kshirsagar
Fix line over 80 characters issue of file
drivers/staging/speakup/kobjects.c
Your kernel is not up to date. Someone else has already made thing change. It was done in a different way, because comments in the middle of a function should not be moved out to the left side.
julia
Quoted 38 lines
Signed-off-by Payal Kshirsagar <[email protected]>--- drivers/staging/speakup/kobjects.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/staging/speakup/kobjects.c +2
-3@@ -154,7 +154,7 @@ 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 +788,7 @@ 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' )) --2.7.4
--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/1553089942-7490-1-git-send-email-payal.s.kshirsagar.98%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
Quoted 4 lines · Julia Lawall
On Wed, 20 Mar 2019, Payal Kshirsagar wrote:
Quoted 9 lines
Quoted 2 lines
Fix line over 80 characters issue of file
drivers/staging/speakup/kobjects.cYour kernel is not up to date. Someone else has already made thing change. It was done in a different way, because comments in the middle of a function should not be moved out to the left side.
julia
Yup , Updating
Thanking payal
Quoted 61 lines
Review
Quoted 8 lines
Signed-off-by Payal Kshirsagar <[email protected]>--- drivers/staging/speakup/kobjects.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)(quoted diff) +0
-0
b/drivers/staging/speakup/kobjects.cdrivers/staging/speakup/kobjects.c static ssize_t chars_chartab_store(struct kobject
Quoted 4 lines
index 11c704b..fbd09c7 100644
drivers/staging/speakup/kobjects.c +0
-0@@ -154,7 +154,7 @@ static ssize_t chars_chartab_store(struct kobject*kobj,
drivers/staging/speakup/kobjects.c static ssize_t chars_chartab_store(struct kobject *kobj,
Quoted 4 lines
drivers/staging/speakup/kobjects.c +0
-1continue ; } -/* Do not replace with kstrtoul: here we need temp to be updated */
drivers/staging/speakup/kobjects.c static ssize_t message_store_helper(const char *buf,
Quoted 5 lines
drivers/staging/speakup/kobjects.c +1
-0+/* Do not replace with kstrtoul: here we need temp to be updated */ index =simple_strtoul (cp, &temp,10 );if (index >255 ) { rejected++;@@ -788,7 +788,7 @@ static ssize_t message_store_helper(const char *buf,
size_tcount,drivers/staging/speakup/kobjects.c static ssize_t chars_chartab_store(struct kobject *kobj,
Quoted 4 lines
drivers/staging/speakup/kobjects.c +0
-1continue ; } -/* Do not replace with kstrtoul: here we need temp to be updated */
drivers/staging/speakup/kobjects.c static ssize_t message_store_helper(const char *buf, size_t count,
Quoted 4 lines
drivers/staging/speakup/kobjects.c +1
-0+/* Do not replace with kstrtoul: here we need temp to be updated */ index =simple_strtoul (cp, &temp,10 ); while ((temp < linefeed) && (*temp == ' ' || *temp =='\t'))
Quoted 5 lines
--
2.7.4--
You received this message because you are subscribed to the GoogleGroups "outreachy-kernel" group.
Quoted 1 line
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected].
Quoted 2 lines
To post to this group, send email to [email protected]. To view this discussion on the web visit
Quoted 2 lines
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected]. To view this discussion on the web visit
https://groups.google.com/d/msgid/outreachy-kernel/alpine.DEB.2.20.1903201456260.3627%40hadrien
.
For more options, visit https://groups.google.com/d/optout.