From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Ariel Otilibili <ariel.otilibili@6wind.com>
Subject: |WARNING| pw151073 [PATCH v8 2/2] net/af_xdp: Refactor af_xdp_tx_zc
Date: Thu, 6 Feb 2025 21:47:01 +0100 (CET) [thread overview]
Message-ID: <20250206204701.34806127003@dpdk.org> (raw)
In-Reply-To: <20250206204645.1564535-3-ariel.otilibili@6wind.com>
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/151073
_coding style issues_
WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 18)
#167: FILE: drivers/net/af_xdp/rte_eth_af_xdp.c:589:
if (mbuf->pool == umem->mb_pool) {
+ if (!(desc = reserve_and_fill(txq, mbuf, umem, NULL))) {
WARNING:TABSTOP: Statements should start on a tabstop
#169: FILE: drivers/net/af_xdp/rte_eth_af_xdp.c:590:
+ if (!(desc = reserve_and_fill(txq, mbuf, umem, NULL))) {
WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (18, 32)
#169: FILE: drivers/net/af_xdp/rte_eth_af_xdp.c:590:
+ if (!(desc = reserve_and_fill(txq, mbuf, umem, NULL))) {
kick_tx(txq, cq);
ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#169: FILE: drivers/net/af_xdp/rte_eth_af_xdp.c:590:
+ if (!(desc = reserve_and_fill(txq, mbuf, umem, NULL))) {
ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#195: FILE: drivers/net/af_xdp/rte_eth_af_xdp.c:600:
+ if (!(local_mbuf = rte_pktmbuf_alloc(umem->mb_pool)))
total: 2 errors, 3 warnings, 0 checks, 113 lines checked
next prev parent reply other threads:[~2025-02-06 20:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20250206204645.1564535-3-ariel.otilibili@6wind.com>
2025-02-06 20:17 ` |SUCCESS| pw151072-151073 " qemudev
2025-02-06 20:22 ` qemudev
2025-02-06 20:47 ` checkpatch [this message]
2025-02-07 2:04 ` |SUCCESS| pw151073 " 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=20250206204701.34806127003@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).