lkml.org 
[lkml]   [2017]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] Corrected some Coding Style Issues V2
Date
From: daksh anand <dakshanand@gmail.com>

Signed-off-by: daksh anand <dakshanand@gmail.com>
---
drivers/staging/speakup/i18n.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/speakup/i18n.c b/drivers/staging/speakup/i18n.c
index b8f5bed..56ce386 100644
--- a/drivers/staging/speakup/i18n.c
+++ b/drivers/staging/speakup/i18n.c
@@ -407,7 +407,7 @@ static char *next_specifier(char *input)
int found = 0;
char *next_percent = input;

- while ((next_percent) && !found) {
+ while (next_percent && !found) {
next_percent = strchr(next_percent, '%');
if (next_percent) {
/* skip over doubled percent signs */
--
2.7.4
\
 
 \ /
  Last update: 2017-01-26 18:44    [W:0.067 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site