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 6DCC543AAA for ; Thu, 8 Feb 2024 19:25:12 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1E90C42E78; Thu, 8 Feb 2024 19:25:12 +0100 (CET) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id D3B8A40273 for ; Thu, 8 Feb 2024 19:25:10 +0100 (CET) Received: by dpdk.org (Postfix, from userid 65534) id BE71A121F0B; Thu, 8 Feb 2024 19:25:10 +0100 (CET) Subject: |WARNING| pw136557 [RFC 1/5] eal: add static per-lcore memory allocation facility In-Reply-To: <20240208181644.455233-2-mattias.ronnblom@ericsson.com> References: <20240208181644.455233-2-mattias.ronnblom@ericsson.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: =?utf-8?q?Mattias_R=C3=B6nnblom?= Message-Id: <20240208182510.BE71A121F0B@dpdk.org> Date: Thu, 8 Feb 2024 19:25:10 +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/136557 _coding style issues_ WARNING:TYPO_SPELLING: 'varible' may be misspelled - perhaps 'variable'? #177: FILE: doc/api/doxy-api-index.md:101: + [lcore-varible](@ref rte_lcore_var.h), WARNING:TYPO_SPELLING: 'satisify' may be misspelled - perhaps 'satisfy'? #260: FILE: lib/eal/common/eal_common_lcore_var.c:74: + * should satisify alignment requirements of any kind of WARNING:TYPO_SPELLING: 'endcode' may be misspelled - perhaps 'encode'? #442: FILE: lib/eal/include/rte_lcore_var.h:146: + * ndcode WARNING:TYPO_SPELLING: 'endcode' may be misspelled - perhaps 'encode'? #456: FILE: lib/eal/include/rte_lcore_var.h:160: + * ndcode ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #522: FILE: lib/eal/include/rte_lcore_var.h:226: +#define RTE_LCORE_VAR_HANDLE_TYPE(type) \ + type * ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #538: FILE: lib/eal/include/rte_lcore_var.h:242: +#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 #544: FILE: lib/eal/include/rte_lcore_var.h:248: +#define RTE_LCORE_VAR_ALLOC_SZ(name, size) \ + name = rte_lcore_var_alloc(size) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #558: FILE: lib/eal/include/rte_lcore_var.h:262: +#define RTE_LCORE_VAR_INIT_SZ(name) \ + RTE_INIT(rte_lcore_var_init_ ## name) \ + { \ + RTE_LCORE_VAR_ALLOC_SZ(name); \ + } ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #567: FILE: lib/eal/include/rte_lcore_var.h:271: +#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'? #630: FILE: lib/eal/include/rte_lcore_var.h:334: + * The pointer returned is only an opaque identifer of the variable. To total: 5 errors, 5 warnings, 470 lines checked