From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 887CC4614F for ; Thu, 30 Jan 2025 16:00:09 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 83834406BB; Thu, 30 Jan 2025 16:00:09 +0100 (CET) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id C984B406BB for ; Thu, 30 Jan 2025 16:00:07 +0100 (CET) Received: by dpdk.org (Postfix, from userid 65534) id A508D123DB5; Thu, 30 Jan 2025 15:59:04 +0100 (CET) Subject: |WARNING| pw150640 [PATCH v2 3/3] trace: fix undefined behavior in register In-Reply-To: <20250130145849.82003-3-david.marchand@redhat.com> References: <20250130145849.82003-3-david.marchand@redhat.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: David Marchand Message-Id: <20250130145904.A508D123DB5@dpdk.org> Date: Thu, 30 Jan 2025 15:59:04 +0100 (CET) X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: test-report-bounces@dpdk.org 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