* |WARNING| pw122110 [PATCH 2/7] testpmd: fix whitespace
[not found] <20230116172732.84976-3-stephen@networkplumber.org>
@ 2023-01-16 17:28 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2023-01-16 17:28 UTC (permalink / raw)
To: test-report; +Cc: Stephen Hemminger
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/122110
_coding style issues_
ERROR:SPACING: space required after that ',' (ctx:VxV)
#102: FILE: app/test-pmd/cmdline.c:2733:
+ if ((p0 = strchr(p,')')) == NULL)
^
ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#102: FILE: app/test-pmd/cmdline.c:2733:
+ if ((p0 = strchr(p,')')) == NULL)
ERROR:SPACING: space required before the open brace '{'
#138: FILE: app/test-pmd/cmdline.c:4087:
+ while (i < len){
ERROR:SPACING: space required before the open brace '{'
#157: FILE: app/test-pmd/cmdline.c:4107:
+ else if (!strcmp(res->what, "stripq")){
ERROR:SPACING: space required after that ',' (ctx:VxV)
#200: FILE: app/test-pmd/parameters.c:311:
+ if ((p0 = strchr(p,')')) == NULL)
^
ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#200: FILE: app/test-pmd/parameters.c:311:
+ if ((p0 = strchr(p,')')) == NULL)
ERROR:SPACING: space required after that ',' (ctx:VxV)
#214: FILE: app/test-pmd/parameters.c:371:
+ if ((p0 = strchr(p,')')) == NULL)
^
ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#214: FILE: app/test-pmd/parameters.c:371:
+ if ((p0 = strchr(p,')')) == NULL)
total: 8 errors, 0 warnings, 121 lines checked
^ permalink raw reply [flat|nested] only message in thread