[PATCH 09/15] staging: unisys: Logical continuation parser.c

Jeffrey Jeffrey.Brown at unisys.com
Wed Nov 12 14:10:08 UTC 2014


Put "||" operator on line 390 where it belongs, to have a proper
logical continuation

Signed-off-by: Jeffrey <Jeffrey.Brown at unisys.com>
---
 drivers/staging/unisys/visorchipset/parser.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/unisys/visorchipset/parser.c b/drivers/staging/unisys/visorchipset/parser.c
index fa2a678..671aaaf 100644
--- a/drivers/staging/unisys/visorchipset/parser.c
+++ b/drivers/staging/unisys/visorchipset/parser.c
@@ -387,8 +387,8 @@ parser_param_get(struct parser_context_tag *ctx, char *nam, int namesize)
 				break;
 			}
 		} else
-		    if (pscan[i] == ',' || pscan[i] == ';'
-			|| pscan[i] == '\0') {
+		    if (pscan[i] == ',' || pscan[i] == ';' ||
+			pscan[i] == '\0') {
 			value_length = i;
 			break;
 		}
-- 
1.7.1



More information about the devel mailing list