From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Andre Muezerie <andremue@linux.microsoft.com>
Subject: |WARNING| pw149575 [PATCH v10 3/3] drivers/net: add diagnostics macros to make code portable
Date: Fri, 3 Jan 2025 01:13:56 +0100 (CET) [thread overview]
Message-ID: <20250103001356.8C169121D87@dpdk.org> (raw)
In-Reply-To: <1735863137-31675-4-git-send-email-andremue@linux.microsoft.com>
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/149575
_coding style issues_
WARNING:AVOID_EXTERNS: externs should be avoided in .c files
#227: FILE: drivers/net/fm10k/fm10k_rxtx_vec.c:473:
+__rte_diagnostic_pop
WARNING:AVOID_EXTERNS: externs should be avoided in .c files
#402: FILE: drivers/net/i40e/i40e_rxtx_vec_altivec.c:296:
+__rte_diagnostic_pop
WARNING:AVOID_EXTERNS: externs should be avoided in .c files
#722: FILE: drivers/net/i40e/i40e_rxtx_vec_sse.c:473:
+__rte_diagnostic_pop
WARNING:AVOID_EXTERNS: externs should be avoided in .c files
#1101: FILE: drivers/net/iavf/iavf_rxtx_vec_sse.c:586:
+__rte_diagnostic_pop
WARNING:AVOID_EXTERNS: externs should be avoided in .c files
#1136: FILE: drivers/net/iavf/iavf_rxtx_vec_sse.c:878:
+__rte_diagnostic_pop
WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (24, 0)
#1279: FILE: drivers/net/ice/ice_rxtx_vec_avx2.c:443:
if (rxq->vsi->adapter->pf.dev_data->dev_conf.rxmode.offloads &
[...]
+__rte_diagnostic_push
WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (24, 0)
#1351: FILE: drivers/net/ice/ice_rxtx_vec_avx512.c:473:
if (rxq->vsi->adapter->pf.dev_data->dev_conf.rxmode.offloads &
[...]
+__rte_diagnostic_push
WARNING:AVOID_EXTERNS: externs should be avoided in .c files
#1450: FILE: drivers/net/ice/ice_rxtx_vec_sse.c:433:
+__rte_diagnostic_pop
WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 0)
#1470: FILE: drivers/net/ice/ice_rxtx_vec_sse.c:497:
if (rxq->vsi->adapter->pf.dev_data->dev_conf.rxmode.offloads &
[...]
+__rte_diagnostic_push
WARNING:AVOID_EXTERNS: externs should be avoided in .c files
#1637: FILE: drivers/net/ixgbe/ixgbe_rxtx_vec_sse.c:474:
+__rte_diagnostic_pop
ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line
#1799: FILE: drivers/net/mlx5/mlx5_rxtx_vec_sse.h:133:
+__rte_diagnostic_pop
for (pos = 0; pos < mcqe_n; ) {
WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (24, 0)
#1823: FILE: drivers/net/mlx5/mlx5_rxtx_vec_sse.h:359:
if (!(pos & 0x7) && pos < mcqe_n) {
+__rte_diagnostic_push
total: 1 errors, 11 warnings, 0 checks, 1582 lines checked
next prev parent reply other threads:[~2025-01-03 0:14 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1735863137-31675-4-git-send-email-andremue@linux.microsoft.com>
2025-01-02 23:41 ` |SUCCESS| pw149574-149575 " qemudev
2025-01-02 23:45 ` qemudev
2025-01-03 0:13 ` checkpatch [this message]
2025-01-03 1:04 ` |SUCCESS| pw149575 " 0-day Robot
2025-01-03 2:51 ` |SUCCESS| pw149574-149575 [PATCH] [v10,3/3] drivers/net: add diagnos dpdklab
2025-01-03 2:57 ` dpdklab
2025-01-03 2:57 ` dpdklab
2025-01-03 3:01 ` dpdklab
2025-01-03 3:03 ` dpdklab
2025-01-03 3:04 ` dpdklab
2025-01-03 3:21 ` dpdklab
2025-01-03 3:38 ` dpdklab
2025-01-03 3:52 ` |FAILURE| " dpdklab
2025-01-03 3:58 ` |PENDING| " dpdklab
2025-01-03 4:03 ` dpdklab
2025-01-03 4:04 ` dpdklab
2025-01-03 4:33 ` |FAILURE| " dpdklab
2025-01-03 4:34 ` dpdklab
2025-01-03 4:37 ` dpdklab
2025-01-03 4:37 ` dpdklab
2025-01-03 4:42 ` |WARNING| " dpdklab
2025-01-03 4:59 ` |SUCCESS| " dpdklab
2025-01-03 7:49 ` |FAILURE| " dpdklab
2025-01-03 10:47 ` |SUCCESS| " 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=20250103001356.8C169121D87@dpdk.org \
--to=checkpatch@dpdk.org \
--cc=andremue@linux.microsoft.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).