|WARNING| pw122110 [PATCH 2/7] testpmd: fix whitespace
checkpatch at dpdk.org
checkpatch at dpdk.org
Mon Jan 16 18:28:45 CET 2023
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
More information about the test-report
mailing list