|WARNING| pw119641 [PATCH 05/14] testpmd: fix whitspace

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Nov 9 20:17:24 CET 2022


Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/119641

_coding style issues_


WARNING:TYPO_SPELLING: 'whitspace' may be misspelled - perhaps 'whitespace'?
#64: 
Subject: [PATCH 05/14] testpmd: fix whitspace

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:4091:
+	while (i < len){

ERROR:SPACING: space required before the open brace '{'
#157: FILE: app/test-pmd/cmdline.c:4111:
+	else if (!strcmp(res->what, "stripq")){

ERROR:SPACING: space required after that ',' (ctx:VxV)
#200: FILE: app/test-pmd/parameters.c:309:
+		if ((p0 = strchr(p,')')) == NULL)
 		                  ^

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#200: FILE: app/test-pmd/parameters.c:309:
+		if ((p0 = strchr(p,')')) == NULL)

ERROR:SPACING: space required after that ',' (ctx:VxV)
#214: FILE: app/test-pmd/parameters.c:369:
+		if ((p0 = strchr(p,')')) == NULL)
 		                  ^

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#214: FILE: app/test-pmd/parameters.c:369:
+		if ((p0 = strchr(p,')')) == NULL)

total: 8 errors, 1 warnings, 121 lines checked


More information about the test-report mailing list