automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: David Marchand <david.marchand@redhat.com>
Subject: |WARNING| pw152610 [PATCH v5 8/8] eal: rework function versioning macros
Date: Thu, 27 Mar 2025 14:49:43 +0100 (CET)	[thread overview]
Message-ID: <20250327134943.561B5123E9B@dpdk.org> (raw)
In-Reply-To: <20250327133638.2983276-9-david.marchand@redhat.com>

Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/152610

_coding style issues_


ERROR:SPACING: spaces required around that '?' (ctx:VxB)
#545: FILE: lib/eal/common/eal_symbol_exports.h:20:
+	Is "use_function_versioning=true" in meson.build?)
 	                                                ^

ERROR:MULTISTATEMENT_MACRO_USE_DO_WHILE: Macros with multiple statements should be enclosed in a do - while loop
#567: FILE: lib/eal/common/eal_symbol_exports.h:42:
+#define RTE_VERSION_SYMBOL(ver, type, name, args) VERSIONING_WARN \
+__asm__(".symver " RTE_STR(name) "_v" RTE_STR(ver) ", " RTE_STR(name) "@DPDK_" RTE_STR(ver)); \
+__rte_used type name ## _v ## ver args; \
+type name ## _v ## ver args

ERROR:MULTISTATEMENT_MACRO_USE_DO_WHILE: Macros with multiple statements should be enclosed in a do - while loop
#577: FILE: lib/eal/common/eal_symbol_exports.h:52:
+#define RTE_VERSION_EXPERIMENTAL_SYMBOL(type, name, args) VERSIONING_WARN \
+__asm__(".symver " RTE_STR(name) "_exp, " RTE_STR(name) "@EXPERIMENTAL") \
+__rte_used type name ## _exp args; \
+type name ## _exp args

ERROR:MULTISTATEMENT_MACRO_USE_DO_WHILE: Macros with multiple statements should be enclosed in a do - while loop
#587: FILE: lib/eal/common/eal_symbol_exports.h:62:
+#define RTE_DEFAULT_SYMBOL(ver, type, name, args) VERSIONING_WARN \
+__asm__(".symver " RTE_STR(name) "_v" RTE_STR(ver) ", " RTE_STR(name) "@@DPDK_" RTE_STR(ver)); \
+__rte_used type name ## _v ## ver args; \
+type name ## _v ## ver args

ERROR:MULTISTATEMENT_MACRO_USE_DO_WHILE: Macros with multiple statements should be enclosed in a do - while loop
#594: FILE: lib/eal/common/eal_symbol_exports.h:69:
+#define RTE_VERSION_SYMBOL(ver, type, name, args) VERSIONING_WARN \
+type name ## _v ## ver args; \
+type name ## _v ## ver args

ERROR:MULTISTATEMENT_MACRO_USE_DO_WHILE: Macros with multiple statements should be enclosed in a do - while loop
#598: FILE: lib/eal/common/eal_symbol_exports.h:73:
+#define RTE_VERSION_EXPERIMENTAL_SYMBOL(type, name, args) VERSIONING_WARN \
+type name ## _exp args; \
+type name ## _exp args

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#602: FILE: lib/eal/common/eal_symbol_exports.h:77:
+#define RTE_DEFAULT_SYMBOL(ver, type, name, args) VERSIONING_WARN \
+type name args

total: 7 errors, 0 warnings, 531 lines checked

  parent reply	other threads:[~2025-03-27 13:50 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20250327133638.2983276-9-david.marchand@redhat.com>
2025-03-27 13:16 ` |SUCCESS| pw152604-152610 " qemudev
2025-03-27 13:21 ` qemudev
2025-03-27 13:49 ` checkpatch [this message]
2025-03-27 14:43 ` |PENDING| pw152604-152610 [PATCH] [v5,8/8] eal: rework function vers dpdklab
2025-03-27 14:44 ` dpdklab
2025-03-27 14:45 ` |SUCCESS| " dpdklab
2025-03-27 14:45 ` dpdklab
2025-03-27 14:51 ` dpdklab
2025-03-27 14:52 ` dpdklab
2025-03-27 15:02 ` |SUCCESS| pw152610 [PATCH v5 8/8] eal: rework function versioning macros 0-day Robot
2025-03-27 15:02 ` |SUCCESS| pw152604-152610 [PATCH] [v5,8/8] eal: rework function vers dpdklab
2025-03-27 15:06 ` |PENDING| " dpdklab
2025-03-27 15:10 ` |FAILURE| " dpdklab
2025-03-27 15:11 ` dpdklab
2025-03-27 15:11 ` dpdklab
2025-03-27 15:12 ` dpdklab
2025-03-27 15:15 ` |SUCCESS| " dpdklab
2025-03-27 15:16 ` |FAILURE| " dpdklab
2025-03-27 15:18 ` dpdklab
2025-03-27 15:29 ` |SUCCESS| " dpdklab
2025-03-27 15:30 ` dpdklab
2025-03-27 15:42 ` dpdklab
2025-03-27 15:42 ` dpdklab
2025-03-27 15:54 ` |WARNING| " dpdklab
2025-03-27 15:55 ` dpdklab
2025-03-27 16:35 ` dpdklab
2025-03-27 16:44 ` dpdklab
2025-03-27 21:09 ` |SUCCESS| " dpdklab
2025-03-27 21:25 ` dpdklab
2025-03-28 20:18 ` dpdklab
2025-03-29  2:38 ` 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=20250327134943.561B5123E9B@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=david.marchand@redhat.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).