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| pw150640 [PATCH v2 3/3] trace: fix undefined behavior in register
Date: Thu, 30 Jan 2025 15:59:04 +0100 (CET)	[thread overview]
Message-ID: <20250130145904.A508D123DB5@dpdk.org> (raw)
In-Reply-To: <20250130145849.82003-3-david.marchand@redhat.com>

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

_coding style issues_


ERROR:SPACING: space required after that ',' (ctx:VxV)
#214: FILE: lib/eal/include/rte_trace_point_register.h:21:
+#define RTE_TRACE_POINT_ARGS_COUNT_(_0,_1,_2,_3,_4,_5,_6,_7,_8,_9,_10,_11,_12,_13,_14,_15,N, ...) \
                                       ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#214: FILE: lib/eal/include/rte_trace_point_register.h:21:
+#define RTE_TRACE_POINT_ARGS_COUNT_(_0,_1,_2,_3,_4,_5,_6,_7,_8,_9,_10,_11,_12,_13,_14,_15,N, ...) \
                                          ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#214: FILE: lib/eal/include/rte_trace_point_register.h:21:
+#define RTE_TRACE_POINT_ARGS_COUNT_(_0,_1,_2,_3,_4,_5,_6,_7,_8,_9,_10,_11,_12,_13,_14,_15,N, ...) \
                                             ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#214: FILE: lib/eal/include/rte_trace_point_register.h:21:
+#define RTE_TRACE_POINT_ARGS_COUNT_(_0,_1,_2,_3,_4,_5,_6,_7,_8,_9,_10,_11,_12,_13,_14,_15,N, ...) \
                                                ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#214: FILE: lib/eal/include/rte_trace_point_register.h:21:
+#define RTE_TRACE_POINT_ARGS_COUNT_(_0,_1,_2,_3,_4,_5,_6,_7,_8,_9,_10,_11,_12,_13,_14,_15,N, ...) \
                                                   ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#214: FILE: lib/eal/include/rte_trace_point_register.h:21:
+#define RTE_TRACE_POINT_ARGS_COUNT_(_0,_1,_2,_3,_4,_5,_6,_7,_8,_9,_10,_11,_12,_13,_14,_15,N, ...) \
                                                      ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#214: FILE: lib/eal/include/rte_trace_point_register.h:21:
+#define RTE_TRACE_POINT_ARGS_COUNT_(_0,_1,_2,_3,_4,_5,_6,_7,_8,_9,_10,_11,_12,_13,_14,_15,N, ...) \
                                                         ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#214: FILE: lib/eal/include/rte_trace_point_register.h:21:
+#define RTE_TRACE_POINT_ARGS_COUNT_(_0,_1,_2,_3,_4,_5,_6,_7,_8,_9,_10,_11,_12,_13,_14,_15,N, ...) \
                                                            ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#214: FILE: lib/eal/include/rte_trace_point_register.h:21:
+#define RTE_TRACE_POINT_ARGS_COUNT_(_0,_1,_2,_3,_4,_5,_6,_7,_8,_9,_10,_11,_12,_13,_14,_15,N, ...) \
                                                               ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#214: FILE: lib/eal/include/rte_trace_point_register.h:21:
+#define RTE_TRACE_POINT_ARGS_COUNT_(_0,_1,_2,_3,_4,_5,_6,_7,_8,_9,_10,_11,_12,_13,_14,_15,N, ...) \
                                                                  ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#214: FILE: lib/eal/include/rte_trace_point_register.h:21:
+#define RTE_TRACE_POINT_ARGS_COUNT_(_0,_1,_2,_3,_4,_5,_6,_7,_8,_9,_10,_11,_12,_13,_14,_15,N, ...) \
                                                                      ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#214: FILE: lib/eal/include/rte_trace_point_register.h:21:
+#define RTE_TRACE_POINT_ARGS_COUNT_(_0,_1,_2,_3,_4,_5,_6,_7,_8,_9,_10,_11,_12,_13,_14,_15,N, ...) \
                                                                          ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#214: FILE: lib/eal/include/rte_trace_point_register.h:21:
+#define RTE_TRACE_POINT_ARGS_COUNT_(_0,_1,_2,_3,_4,_5,_6,_7,_8,_9,_10,_11,_12,_13,_14,_15,N, ...) \
                                                                              ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#214: FILE: lib/eal/include/rte_trace_point_register.h:21:
+#define RTE_TRACE_POINT_ARGS_COUNT_(_0,_1,_2,_3,_4,_5,_6,_7,_8,_9,_10,_11,_12,_13,_14,_15,N, ...) \
                                                                                  ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#214: FILE: lib/eal/include/rte_trace_point_register.h:21:
+#define RTE_TRACE_POINT_ARGS_COUNT_(_0,_1,_2,_3,_4,_5,_6,_7,_8,_9,_10,_11,_12,_13,_14,_15,N, ...) \
                                                                                      ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#214: FILE: lib/eal/include/rte_trace_point_register.h:21:
+#define RTE_TRACE_POINT_ARGS_COUNT_(_0,_1,_2,_3,_4,_5,_6,_7,_8,_9,_10,_11,_12,_13,_14,_15,N, ...) \
                                                                                          ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#217: FILE: lib/eal/include/rte_trace_point_register.h:24:
+	RTE_TRACE_POINT_ARGS_COUNT_(__VA_ARGS__,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0)
 	                                       ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#217: FILE: lib/eal/include/rte_trace_point_register.h:24:
+	RTE_TRACE_POINT_ARGS_COUNT_(__VA_ARGS__,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0)
 	                                          ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#217: FILE: lib/eal/include/rte_trace_point_register.h:24:
+	RTE_TRACE_POINT_ARGS_COUNT_(__VA_ARGS__,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0)
 	                                             ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#217: FILE: lib/eal/include/rte_trace_point_register.h:24:
+	RTE_TRACE_POINT_ARGS_COUNT_(__VA_ARGS__,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0)
 	                                                ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#217: FILE: lib/eal/include/rte_trace_point_register.h:24:
+	RTE_TRACE_POINT_ARGS_COUNT_(__VA_ARGS__,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0)
 	                                                   ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#217: FILE: lib/eal/include/rte_trace_point_register.h:24:
+	RTE_TRACE_POINT_ARGS_COUNT_(__VA_ARGS__,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0)
 	                                                      ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#217: FILE: lib/eal/include/rte_trace_point_register.h:24:
+	RTE_TRACE_POINT_ARGS_COUNT_(__VA_ARGS__,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0)
 	                                                         ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#217: FILE: lib/eal/include/rte_trace_point_register.h:24:
+	RTE_TRACE_POINT_ARGS_COUNT_(__VA_ARGS__,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0)
 	                                                           ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#217: FILE: lib/eal/include/rte_trace_point_register.h:24:
+	RTE_TRACE_POINT_ARGS_COUNT_(__VA_ARGS__,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0)
 	                                                             ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#217: FILE: lib/eal/include/rte_trace_point_register.h:24:
+	RTE_TRACE_POINT_ARGS_COUNT_(__VA_ARGS__,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0)
 	                                                               ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#217: FILE: lib/eal/include/rte_trace_point_register.h:24:
+	RTE_TRACE_POINT_ARGS_COUNT_(__VA_ARGS__,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0)
 	                                                                 ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#217: FILE: lib/eal/include/rte_trace_point_register.h:24:
+	RTE_TRACE_POINT_ARGS_COUNT_(__VA_ARGS__,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0)
 	                                                                   ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#217: FILE: lib/eal/include/rte_trace_point_register.h:24:
+	RTE_TRACE_POINT_ARGS_COUNT_(__VA_ARGS__,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0)
 	                                                                     ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#217: FILE: lib/eal/include/rte_trace_point_register.h:24:
+	RTE_TRACE_POINT_ARGS_COUNT_(__VA_ARGS__,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0)
 	                                                                       ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#217: FILE: lib/eal/include/rte_trace_point_register.h:24:
+	RTE_TRACE_POINT_ARGS_COUNT_(__VA_ARGS__,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0)
 	                                                                         ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#217: FILE: lib/eal/include/rte_trace_point_register.h:24:
+	RTE_TRACE_POINT_ARGS_COUNT_(__VA_ARGS__,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0)
 	                                                                           ^

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#219: FILE: lib/eal/include/rte_trace_point_register.h:26:
+#define RTE_TRACE_POINT_ARGS_1(a) __rte_unused a

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#220: FILE: lib/eal/include/rte_trace_point_register.h:27:
+#define RTE_TRACE_POINT_ARGS_2(a, ...) __rte_unused a, RTE_TRACE_POINT_ARGS_1(__VA_ARGS__)

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#221: FILE: lib/eal/include/rte_trace_point_register.h:28:
+#define RTE_TRACE_POINT_ARGS_3(a, ...) __rte_unused a, RTE_TRACE_POINT_ARGS_2(__VA_ARGS__)

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#222: FILE: lib/eal/include/rte_trace_point_register.h:29:
+#define RTE_TRACE_POINT_ARGS_4(a, ...) __rte_unused a, RTE_TRACE_POINT_ARGS_3(__VA_ARGS__)

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#223: FILE: lib/eal/include/rte_trace_point_register.h:30:
+#define RTE_TRACE_POINT_ARGS_5(a, ...) __rte_unused a, RTE_TRACE_POINT_ARGS_4(__VA_ARGS__)

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#224: FILE: lib/eal/include/rte_trace_point_register.h:31:
+#define RTE_TRACE_POINT_ARGS_6(a, ...) __rte_unused a, RTE_TRACE_POINT_ARGS_5(__VA_ARGS__)

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#225: FILE: lib/eal/include/rte_trace_point_register.h:32:
+#define RTE_TRACE_POINT_ARGS_7(a, ...) __rte_unused a, RTE_TRACE_POINT_ARGS_6(__VA_ARGS__)

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#226: FILE: lib/eal/include/rte_trace_point_register.h:33:
+#define RTE_TRACE_POINT_ARGS_8(a, ...) __rte_unused a, RTE_TRACE_POINT_ARGS_7(__VA_ARGS__)

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#227: FILE: lib/eal/include/rte_trace_point_register.h:34:
+#define RTE_TRACE_POINT_ARGS_9(a, ...) __rte_unused a, RTE_TRACE_POINT_ARGS_8(__VA_ARGS__)

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#228: FILE: lib/eal/include/rte_trace_point_register.h:35:
+#define RTE_TRACE_POINT_ARGS_10(a, ...) __rte_unused a, RTE_TRACE_POINT_ARGS_9(__VA_ARGS__)

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#229: FILE: lib/eal/include/rte_trace_point_register.h:36:
+#define RTE_TRACE_POINT_ARGS_11(a, ...) __rte_unused a, RTE_TRACE_POINT_ARGS_10(__VA_ARGS__)

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#230: FILE: lib/eal/include/rte_trace_point_register.h:37:
+#define RTE_TRACE_POINT_ARGS_12(a, ...) __rte_unused a, RTE_TRACE_POINT_ARGS_11(__VA_ARGS__)

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#231: FILE: lib/eal/include/rte_trace_point_register.h:38:
+#define RTE_TRACE_POINT_ARGS_13(a, ...) __rte_unused a, RTE_TRACE_POINT_ARGS_12(__VA_ARGS__)

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#232: FILE: lib/eal/include/rte_trace_point_register.h:39:
+#define RTE_TRACE_POINT_ARGS_14(a, ...) __rte_unused a, RTE_TRACE_POINT_ARGS_13(__VA_ARGS__)

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#233: FILE: lib/eal/include/rte_trace_point_register.h:40:
+#define RTE_TRACE_POINT_ARGS_15(a, ...) __rte_unused a, RTE_TRACE_POINT_ARGS_14(__VA_ARGS__)

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#245: FILE: lib/eal/include/rte_trace_point_register.h:52:
+_tp ## _register (void) \

total: 47 errors, 1 warnings, 150 lines checked

  parent reply	other threads:[~2025-01-30 15:00 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20250130145849.82003-3-david.marchand@redhat.com>
2025-01-30 14:58 ` |SUCCESS| pw150638-150640 " qemudev
2025-01-30 14:59 ` checkpatch [this message]
2025-01-30 15:03 ` qemudev
2025-01-30 15:37 ` |PENDING| pw150638-150640 [PATCH] [v2,3/3] trace: fix undefined beha dpdklab
2025-01-30 15:46 ` dpdklab
2025-01-30 15:48 ` dpdklab
2025-01-30 16:03 ` |SUCCESS| pw150640 [PATCH v2 3/3] trace: fix undefined behavior in register 0-day Robot
2025-01-30 16:06 ` |SUCCESS| pw150638-150640 [PATCH] [v2,3/3] trace: fix undefined beha dpdklab
2025-01-30 16:07 ` dpdklab
2025-01-30 16:07 ` |PENDING| " dpdklab
2025-01-30 16:18 ` dpdklab
2025-01-30 16:55 ` |SUCCESS| " dpdklab
2025-01-30 17:06 ` dpdklab
2025-01-30 17:21 ` dpdklab
2025-01-30 18:12 ` |WARNING| " dpdklab
2025-01-30 21:38 ` |SUCCESS| " dpdklab
2025-01-30 23:46 ` 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=20250130145904.A508D123DB5@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).