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 0825CA0C41 for ; Sun, 24 Oct 2021 22:05:56 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EAB0E410F1; Sun, 24 Oct 2021 22:05:55 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 8D19440141 for ; Sun, 24 Oct 2021 22:05:54 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 736B7121E15; Sun, 24 Oct 2021 22:05:54 +0200 (CEST) In-Reply-To: <20211024200449.12024-2-david.marchand@redhat.com> References: <20211024200449.12024-2-david.marchand@redhat.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: David Marchand Message-Id: <20211024200554.736B7121E15@dpdk.org> Date: Sun, 24 Oct 2021 22:05:54 +0200 (CEST) Subject: [dpdk-test-report] |WARNING| pw102710 [PATCH v6 1/9] interrupts: add allocator and accessors 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 Sender: "test-report" Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/102710 _coding style issues_ WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #143: FILE: lib/eal/common/eal_common_interrupts.c:14: +#define CHECK_VALID_INTR_HANDLE(intr_handle) do { \ + if (intr_handle == NULL) { \ + RTE_LOG(ERR, EAL, "Interrupt instance unallocated "); \ + rte_errno = EINVAL; \ + goto fail; \ + } \ +} while (0) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #155: FILE: lib/eal/common/eal_common_interrupts.c:26: +#define RTE_INTR_INSTANCE_USES_RTE_MEMORY(flags) \ + !!(flags & RTE_INTR_INSTANCE_F_SHARED) total: 1 errors, 1 warnings, 1492 lines checked