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 BFC0243BD4 for ; Sun, 25 Feb 2024 16:13:53 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9C84642D7D; Sun, 25 Feb 2024 16:13:53 +0100 (CET) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id ACE2B40270 for ; Sun, 25 Feb 2024 16:13:37 +0100 (CET) Received: by dpdk.org (Postfix, from userid 65534) id A87DF122320; Sun, 25 Feb 2024 16:13:37 +0100 (CET) Subject: |WARNING| pw137172 [RFC v4 1/6] eal: add static per-lcore memory allocation facility In-Reply-To: <20240225150330.517225-2-mattias.ronnblom@ericsson.com> References: <20240225150330.517225-2-mattias.ronnblom@ericsson.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: =?utf-8?q?Mattias_R=C3=B6nnblom?= Message-Id: <20240225151337.A87DF122320@dpdk.org> Date: Sun, 25 Feb 2024 16:13:37 +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/137172 _coding style issues_ WARNING:TYPO_SPELLING: 'varible' may be misspelled - perhaps 'variable'? #205: FILE: doc/api/doxy-api-index.md:102: + [lcore-varible](@ref rte_lcore_var.h), WARNING:TYPO_SPELLING: 'endcode' may be misspelled - perhaps 'encode'? #450: FILE: lib/eal/include/rte_lcore_var.h:138: + * ndcode WARNING:TYPO_SPELLING: 'endcode' may be misspelled - perhaps 'encode'? #464: FILE: lib/eal/include/rte_lcore_var.h:152: + * ndcode ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #531: FILE: lib/eal/include/rte_lcore_var.h:219: +#define RTE_LCORE_VAR_HANDLE_TYPE(type) \ + type * ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #547: FILE: lib/eal/include/rte_lcore_var.h:235: +#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 #553: FILE: lib/eal/include/rte_lcore_var.h:241: +#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 #575: FILE: lib/eal/include/rte_lcore_var.h:263: +#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 #591: FILE: lib/eal/include/rte_lcore_var.h:279: +#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'? #657: FILE: lib/eal/include/rte_lcore_var.h:345: + * The pointer returned is only an opaque identifer of the variable. To total: 5 errors, 4 warnings, 481 lines checked