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 6FBA8459C6 for ; Wed, 18 Sep 2024 10:38:11 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6A6E842F57; Wed, 18 Sep 2024 10:38:11 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 1307742EAE for ; Wed, 18 Sep 2024 10:37:58 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 0DC9F121D10; Wed, 18 Sep 2024 10:37:58 +0200 (CEST) Subject: |WARNING| pw144241 [PATCH v7 1/7] eal: add static per-lcore memory allocation facility In-Reply-To: <20240918082614.725220-2-mattias.ronnblom@ericsson.com> References: <20240918082614.725220-2-mattias.ronnblom@ericsson.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: =?utf-8?q?Mattias_R=C3=B6nnblom?= Message-Id: <20240918083758.0DC9F121D10@dpdk.org> Date: Wed, 18 Sep 2024 10:37:58 +0200 (CEST) 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/144241 _coding style issues_ WARNING:TYPO_SPELLING: 'varibles' may be misspelled - perhaps 'variables'? #324: FILE: doc/guides/prog_guide/env_abstraction_layer.rst:451: +Lcore varibles are suitable for small object statically allocated at ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #710: FILE: lib/eal/include/rte_lcore_var.h:220: +#define RTE_LCORE_VAR_HANDLE_TYPE(type) \ + type * ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #726: FILE: lib/eal/include/rte_lcore_var.h:236: +#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 #734: FILE: lib/eal/include/rte_lcore_var.h:244: +#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 #762: FILE: lib/eal/include/rte_lcore_var.h:272: +#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 #782: FILE: lib/eal/include/rte_lcore_var.h:292: +#define RTE_LCORE_VAR_INIT(name) \ + RTE_INIT(rte_lcore_var_init_ ## name) \ + { \ + RTE_LCORE_VAR_ALLOC(name); \ + } WARNING:TYPO_SPELLING: 'identifer' may be misspelled - perhaps 'identifier'? #850: FILE: lib/eal/include/rte_lcore_var.h:360: + * The pointer returned is only an opaque identifer of the variable. To total: 5 errors, 2 warnings, 588 lines checked Please use __rte_cache_aligned only for struct or union types alignment.