From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Junlong Wang <wang.junlong1@zte.com.cn>
Subject: |WARNING| pw145956 [PATCH v5 9/9] net/zxdh: add zxdh dev configure ops
Date: Tue, 15 Oct 2024 07:51:40 +0200 (CEST) [thread overview]
Message-ID: <20241015055140.B6C8A120757@dpdk.org> (raw)
In-Reply-To: <20241015054435.1751245-8-wang.junlong1@zte.com.cn>
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/145956
_coding style issues_
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'buff_size != 0'
#178: FILE: drivers/net/zxdh/zxdh_common.c:313:
+ if ((buff_size != 0) && (buff == NULL)) {
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'buff == NULL'
#178: FILE: drivers/net/zxdh/zxdh_common.c:313:
+ if ((buff_size != 0) && (buff == NULL)) {
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'rxmode->mq_mode != RTE_ETH_MQ_RX_RSS'
#664: FILE: drivers/net/zxdh/zxdh_ethdev.c:764:
+ if ((rxmode->mq_mode != RTE_ETH_MQ_RX_RSS) && (rxmode->mq_mode != RTE_ETH_MQ_RX_NONE)) {
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'rxmode->mq_mode != RTE_ETH_MQ_RX_NONE'
#664: FILE: drivers/net/zxdh/zxdh_ethdev.c:764:
+ if ((rxmode->mq_mode != RTE_ETH_MQ_RX_RSS) && (rxmode->mq_mode != RTE_ETH_MQ_RX_NONE)) {
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'rxmode->mq_mode != RTE_ETH_MQ_RX_RSS'
#673: FILE: drivers/net/zxdh/zxdh_ethdev.c:773:
+ if ((rxmode->mq_mode != RTE_ETH_MQ_RX_RSS) && (rxmode->mq_mode != RTE_ETH_MQ_RX_NONE)) {
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'rxmode->mq_mode != RTE_ETH_MQ_RX_NONE'
#673: FILE: drivers/net/zxdh/zxdh_ethdev.c:773:
+ if ((rxmode->mq_mode != RTE_ETH_MQ_RX_RSS) && (rxmode->mq_mode != RTE_ETH_MQ_RX_NONE)) {
WARNING:TYPO_SPELLING: 'que' may be misspelled - perhaps 'queue'?
#700: FILE: drivers/net/zxdh/zxdh_ethdev.c:800:
+ /*no que changed */
WARNING:TYPO_SPELLING: 'que' may be misspelled - perhaps 'queue'?
#704: FILE: drivers/net/zxdh/zxdh_ethdev.c:804:
+ PMD_DRV_LOG(DEBUG, "que changed need reset ");
total: 0 errors, 2 warnings, 6 checks, 1212 lines checked
Please use __rte_aligned only for struct or union types alignment.
next prev parent reply other threads:[~2024-10-15 5:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20241015054435.1751245-8-wang.junlong1@zte.com.cn>
2024-10-15 5:30 ` |SUCCESS| pw145952-145956 " qemudev
2024-10-15 5:35 ` qemudev
2024-10-15 5:51 ` checkpatch [this message]
2024-10-15 6:42 ` |FAILURE| pw145956 " 0-day Robot
2024-10-15 8:23 ` |SUCCESS| pw145952-145956 [PATCH] [v5,9/9] net/zxdh: add zxdh dev co dpdklab
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=20241015055140.B6C8A120757@dpdk.org \
--to=checkpatch@dpdk.org \
--cc=test-report@dpdk.org \
--cc=wang.junlong1@zte.com.cn \
/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).