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 1D17CA0550 for ; Fri, 26 Aug 2022 14:43:45 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4442D42B89; Fri, 26 Aug 2022 14:43:44 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id DA357410D2 for ; Fri, 26 Aug 2022 14:43:41 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id D683F121D50; Fri, 26 Aug 2022 14:43:41 +0200 (CEST) Subject: |WARNING| pw115488 [PATCH v4 08/27] eal: deprecate RTE_FUNC_PTR_* macros In-Reply-To: <20220826124208.671400-9-david.marchand@redhat.com> References: <20220826124208.671400-9-david.marchand@redhat.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: David Marchand Message-Id: <20220826124341.D683F121D50@dpdk.org> Date: Fri, 26 Aug 2022 14:43:41 +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/115488 _coding style issues_ ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #950: FILE: lib/eal/include/rte_dev.h:41: +#define RTE_FUNC_PTR_OR_ERR_RET(func, retval) RTE_DEPRECATED(RTE_FUNC_PTR_OR_ERR_RET) \ +do { \ if ((func) == NULL) \ return retval; \ } while (0) WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #950: FILE: lib/eal/include/rte_dev.h:41: +#define RTE_FUNC_PTR_OR_ERR_RET(func, retval) RTE_DEPRECATED(RTE_FUNC_PTR_OR_ERR_RET) \ +do { \ if ((func) == NULL) \ return retval; \ } while (0) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #957: FILE: lib/eal/include/rte_dev.h:47: +#define RTE_FUNC_PTR_OR_RET(func) RTE_DEPRECATED(RTE_FUNC_PTR_OR_RET) \ +do { \ if ((func) == NULL) \ return; \ } while (0) WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #957: FILE: lib/eal/include/rte_dev.h:47: +#define RTE_FUNC_PTR_OR_RET(func) RTE_DEPRECATED(RTE_FUNC_PTR_OR_RET) \ +do { \ if ((func) == NULL) \ return; \ } while (0) total: 2 errors, 2 warnings, 2281 lines checked --- a/doc/guides/rel_notes/release_22_11.rst +++ b/doc/guides/rel_notes/release_22_11.rst