From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Ziyang Xuan <xuanziyang2@huawei.com>
Subject: [dpdk-test-report] |WARNING| pw55452 [PATCH v6 14/15] net/hinic: add Rx/Tx package burst
Date: Thu, 27 Jun 2019 10:09:21 +0200 (CEST) [thread overview]
Message-ID: <20190627080921.1684949DF@dpdk.org> (raw)
In-Reply-To: <b2cbc145a2e17efb1305043fad188263bcc7007e.1561620219.git.xuanziyang2@huawei.com>
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/55452
_coding style issues_
CHECK:SPACING: spaces preferred around that '*' (ctx:WxV)
#283: FILE: drivers/net/hinic/hinic_pmd_rx.c:735:
+ volatile __m128i *wqe_be = (volatile __m128i *)src_be32;
^
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'txq' - possible side-effects?
#729: FILE: drivers/net/hinic/hinic_pmd_tx.c:174:
+#define HINIC_GET_SQ_HW_CI(txq) \
+ ((be16_to_cpu(*(txq)->cons_idx_addr)) & HINIC_GET_SQ_WQE_MASK(txq))
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'txq' - possible side-effects?
#732: FILE: drivers/net/hinic/hinic_pmd_tx.c:177:
+#define HINIC_GET_SQ_LOCAL_CI(txq) \
+ (((txq)->wq->cons_idx) & HINIC_GET_SQ_WQE_MASK(txq))
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'txq' - possible side-effects?
#735: FILE: drivers/net/hinic/hinic_pmd_tx.c:180:
+#define HINIC_UPDATE_SQ_LOCAL_CI(txq, wqebb_cnt) \
+ do { \
+ (txq)->wq->cons_idx += wqebb_cnt; \
+ (txq)->wq->delta += wqebb_cnt; \
+ } while (0)
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'wqebb_cnt' - possible side-effects?
#735: FILE: drivers/net/hinic/hinic_pmd_tx.c:180:
+#define HINIC_UPDATE_SQ_LOCAL_CI(txq, wqebb_cnt) \
+ do { \
+ (txq)->wq->cons_idx += wqebb_cnt; \
+ (txq)->wq->delta += wqebb_cnt; \
+ } while (0)
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'txq' - possible side-effects?
#743: FILE: drivers/net/hinic/hinic_pmd_tx.c:188:
+#define HINIC_IS_SQ_EMPTY(txq) (((txq)->wq->delta) == ((txq)->q_depth))
total: 0 errors, 0 warnings, 6 checks, 1614 lines checked
parent reply other threads:[~2019-06-27 8:09 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <b2cbc145a2e17efb1305043fad188263bcc7007e.1561620219.git.xuanziyang2@huawei.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=20190627080921.1684949DF@dpdk.org \
--to=checkpatch@dpdk.org \
--cc=test-report@dpdk.org \
--cc=xuanziyang2@huawei.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).