automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Yiding Zhou <yidingx.zhou@intel.com>
Subject: |WARNING| pw117663 [PATCH v3] net/iavf: fix error of virtchnl command
Date: Sat,  8 Oct 2022 10:10:06 +0200 (CEST)	[thread overview]
Message-ID: <20221008081006.A01CD120EFA@dpdk.org> (raw)
In-Reply-To: <20221008081104.396560-1-yidingx.zhou@intel.com>

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

_coding style issues_

Must be a reply to the first patch (--in-reply-to).


WARNING:TYPO_SPELLING: 'lsit' may be misspelled - perhaps 'list'?
#157: FILE: drivers/net/iavf/iavf_vchnl.c:46:
+	TAILQ_HEAD(event_lsit, iavf_arq_event_element) pending;

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'var' - possible side-effects?
#165: FILE: drivers/net/iavf/iavf_vchnl.c:54:
+#define TAILQ_FOREACH_SAFE(var, head, field, tvar) \
+	for ((var) = TAILQ_FIRST((head)); \
+		(var) && ((tvar) = TAILQ_NEXT((var), field), 1); \
+	(var) = (tvar))

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'tvar' - possible side-effects?
#165: FILE: drivers/net/iavf/iavf_vchnl.c:54:
+#define TAILQ_FOREACH_SAFE(var, head, field, tvar) \
+	for ((var) = TAILQ_FIRST((head)); \
+		(var) && ((tvar) = TAILQ_NEXT((var), field), 1); \
+	(var) = (tvar))

total: 0 errors, 1 warnings, 2 checks, 183 lines checked
Warning in drivers/net/iavf/iavf_vchnl.c:
Using rte_atomicNN_xxx

           reply	other threads:[~2022-10-08  8:10 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20221008081104.396560-1-yidingx.zhou@intel.com>]

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=20221008081006.A01CD120EFA@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=test-report@dpdk.org \
    --cc=yidingx.zhou@intel.com \
    /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).