From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <test-report-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id AEBBE45B40
	for <public@inbox.dpdk.org>; Tue, 15 Oct 2024 09:05:48 +0200 (CEST)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id A6D95402A1;
	Tue, 15 Oct 2024 09:05:48 +0200 (CEST)
Received: from dpdk.org (dpdk.org [92.243.24.197])
 by mails.dpdk.org (Postfix) with ESMTP id D4E174027C
 for <test-report@dpdk.org>; Tue, 15 Oct 2024 09:05:46 +0200 (CEST)
Received: by dpdk.org (Postfix, from userid 65534)
 id D515F120757; Tue, 15 Oct 2024 09:05:46 +0200 (CEST)
Subject: |WARNING| pw145965 [PATCH v12 1/7] eal: add static per-lcore memory
 allocation facility
In-Reply-To: <20241015065505.823840-2-mattias.ronnblom@ericsson.com>
References: <20241015065505.823840-2-mattias.ronnblom@ericsson.com>
To: test-report@dpdk.org
From: checkpatch@dpdk.org
Cc: =?utf-8?q?Mattias_R=C3=B6nnblom?= <mattias.ronnblom@ericsson.com>
Message-Id: <20241015070546.D515F120757@dpdk.org>
Date: Tue, 15 Oct 2024 09:05:46 +0200 (CEST)
X-BeenThere: test-report@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: automatic DPDK test reports <test-report.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/test-report>,
 <mailto:test-report-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/test-report/>
List-Post: <mailto:test-report@dpdk.org>
List-Help: <mailto:test-report-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/test-report>,
 <mailto:test-report-request@dpdk.org?subject=subscribe>
Errors-To: test-report-bounces@dpdk.org

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

_coding style issues_


ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#842: FILE: lib/eal/include/rte_lcore_var.h:222:
+#define RTE_LCORE_VAR_HANDLE_TYPE(type)		\
+	type *

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#857: FILE: lib/eal/include/rte_lcore_var.h:237:
+#define RTE_LCORE_VAR_HANDLE(type, name)	\
+	RTE_LCORE_VAR_HANDLE_TYPE(type) name

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#865: FILE: lib/eal/include/rte_lcore_var.h:245:
+#define RTE_LCORE_VAR_ALLOC_SIZE_ALIGN(handle, size, align)	\
+	handle = rte_lcore_var_alloc(size, align)

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#893: FILE: lib/eal/include/rte_lcore_var.h:273:
+#define RTE_LCORE_VAR_INIT_SIZE_ALIGN(name, size, align)		\
+	RTE_INIT(rte_lcore_var_init_ ## name)				\
+	{								\
+		RTE_LCORE_VAR_ALLOC_SIZE_ALIGN(name, size, align);	\
+	}

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#913: FILE: lib/eal/include/rte_lcore_var.h:293:
+#define RTE_LCORE_VAR_INIT(name)					\
+	RTE_INIT(rte_lcore_var_init_ ## name)				\
+	{								\
+		RTE_LCORE_VAR_ALLOC(name);				\
+	}

total: 5 errors, 0 warnings, 686 lines checked
Please use __rte_cache_aligned only for struct or union types alignment.