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| pw118738 [PATCH v5] net/iavf: add thread for event callbacks
Date: Thu, 20 Oct 2022 06:57:23 +0200 (CEST)	[thread overview]
Message-ID: <20221020045723.47BE8120778@dpdk.org> (raw)
In-Reply-To: <20221020050022.102064-1-yidingx.zhou@intel.com>

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

_coding style issues_


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

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'var' - possible side-effects?
#175: FILE: drivers/net/iavf/iavf_vchnl.c:56:
+#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?
#175: FILE: drivers/net/iavf/iavf_vchnl.c:56:
+#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, 214 lines checked

       reply	other threads:[~2022-10-20  4:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20221020050022.102064-1-yidingx.zhou@intel.com>
2022-10-20  4:57 ` checkpatch [this message]
2022-10-20  6:19 ` |SUCCESS| " 0-day Robot

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=20221020045723.47BE8120778@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).