automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Ariel Otilibili <ariel.otilibili@6wind.com>
Subject: |WARNING| pw150677 [PATCH v4 2/2] net/af_xdp: Refactor af_xdp_tx_zc
Date: Thu, 30 Jan 2025 23:19:36 +0100 (CET)	[thread overview]
Message-ID: <20250130221936.5001D127003@dpdk.org> (raw)
In-Reply-To: <20250130221853.789366-3-ariel.otilibili@6wind.com>

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

_coding style issues_


ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#159: FILE: drivers/net/af_xdp/rte_eth_af_xdp.c:585:
+			if (!(desc = reserve_and_fill(txq, mbuf, umem))) {

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#163: FILE: drivers/net/af_xdp/rte_eth_af_xdp.c:587:
+				if (!(desc = reserve_and_fill(txq, mbuf, umem)))

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#184: FILE: drivers/net/af_xdp/rte_eth_af_xdp.c:601:
+			if (!(desc = reserve_and_fill(txq, local_mbuf, umem))) {

total: 3 errors, 0 warnings, 0 checks, 97 lines checked

  parent reply	other threads:[~2025-01-30 22:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20250130221853.789366-3-ariel.otilibili@6wind.com>
2025-01-30 21:45 ` |SUCCESS| pw150676-150677 " qemudev
2025-01-30 21:49 ` qemudev
2025-01-30 22:19 ` checkpatch [this message]
2025-01-30 23:24 ` |SUCCESS| pw150677 " 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=20250130221936.5001D127003@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=ariel.otilibili@6wind.com \
    --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).