automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Stephen Hemminger <stephen@networkplumber.org>
Subject: |WARNING| pw119641 [PATCH 05/14] testpmd: fix whitspace
Date: Wed,  9 Nov 2022 20:17:24 +0100 (CET)	[thread overview]
Message-ID: <20221109191724.EF17C121F24@dpdk.org> (raw)
In-Reply-To: <20221109191445.140320-6-stephen@networkplumber.org>

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

           reply	other threads:[~2022-11-09 19:17 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20221109191445.140320-6-stephen@networkplumber.org>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221109191724.EF17C121F24@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=stephen@networkplumber.org \
    --cc=test-report@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).