From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Hanxiao Li <li.hanxiao@zte.com.cn>
Subject: |WARNING| pw143024 [PATCH 1/4] [v1, 1/4] zsda: Introduce zsda device drivers
Date: Thu, 8 Aug 2024 11:03:06 +0200 (CEST) [thread overview]
Message-ID: <20240808090306.EF97B123EF2@dpdk.org> (raw)
In-Reply-To: <20240808085030.1685755-1-li.hanxiao@zte.com.cn>
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/143024
_coding style issues_
WARNING:TYPO_SPELLING: 'BTYE' may be misspelled - perhaps 'BYTE'?
#396: FILE: drivers/common/zsda/zsda_common.h:78:
+#define ZSDA_64_BTYE_ALIGN_MASK (~0x3f)
ERROR:C99_COMMENTS: do not use C99 // comments
#426: FILE: drivers/common/zsda/zsda_common.h:108:
+#define ZSDA_OPC_COMP_GZIP 0x10 // Encomp deflate-Gzip
ERROR:C99_COMMENTS: do not use C99 // comments
#427: FILE: drivers/common/zsda/zsda_common.h:109:
+#define ZSDA_OPC_COMP_ZLIB 0x11 // Encomp deflate-Zlib
ERROR:C99_COMMENTS: do not use C99 // comments
#428: FILE: drivers/common/zsda/zsda_common.h:110:
+#define ZSDA_OPC_DECOMP_GZIP 0x18 // Decompinfalte-Gzip
ERROR:C99_COMMENTS: do not use C99 // comments
#429: FILE: drivers/common/zsda/zsda_common.h:111:
+#define ZSDA_OPC_DECOMP_ZLIB 0x19 // Decompinfalte-Zlib
WARNING:TYPO_SPELLING: 'elment' may be misspelled - perhaps 'element'?
#452: FILE: drivers/common/zsda/zsda_common.h:134:
+enum sgl_elment_type_wqe {
WARNING:TYPO_SPELLING: 'elment' may be misspelled - perhaps 'element'?
#459: FILE: drivers/common/zsda/zsda_common.h:141:
+enum sgl_elment_type {
ERROR:C99_COMMENTS: do not use C99 // comments
#467: FILE: drivers/common/zsda/zsda_common.h:149:
+ // Version information
ERROR:C99_COMMENTS: do not use C99 // comments
#470: FILE: drivers/common/zsda/zsda_common.h:152:
+ // algo type
ERROR:C99_COMMENTS: do not use C99 // comments
#473: FILE: drivers/common/zsda/zsda_common.h:155:
+ // get cycle
ERROR:C99_COMMENTS: do not use C99 // comments
#476: FILE: drivers/common/zsda/zsda_common.h:158:
+ // set cyclr
ERROR:C99_COMMENTS: do not use C99 // comments
#482: FILE: drivers/common/zsda/zsda_common.h:164:
+ // set close flr register
ERROR:C99_COMMENTS: do not use C99 // comments
#579: FILE: drivers/common/zsda/zsda_common.h:261:
+ uint8_t valid; // cqe_cycle
total: 10 errors, 3 warnings, 602 lines checked
Warning in drivers/common/zsda/zsda_logs.h:
Do not use variadic argument pack in macros
Warning in drivers/common/zsda/zsda_logs.c:
Using RTE_LOG_REGISTER, prefer RTE_LOG_REGISTER_(DEFAULT|SUFFIX)
Please use __rte_cache_aligned only for struct or union types alignment.
prev parent reply other threads:[~2024-08-08 9:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20240808085030.1685755-1-li.hanxiao@zte.com.cn>
2024-08-08 8:38 ` |WARNING| pw143024-143023 " qemudev
2024-08-08 9:03 ` checkpatch [this message]
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=20240808090306.EF97B123EF2@dpdk.org \
--to=checkpatch@dpdk.org \
--cc=li.hanxiao@zte.com.cn \
--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).