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 B1AC8A0547 for ; Tue, 19 Oct 2021 20:37:37 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A9E2D40142; Tue, 19 Oct 2021 20:37:37 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 4267B4003E for ; Tue, 19 Oct 2021 20:37:36 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 3E55A121D26; Tue, 19 Oct 2021 20:37:36 +0200 (CEST) In-Reply-To: <20211019183543.132084-3-hkalra@marvell.com> References: <20211019183543.132084-3-hkalra@marvell.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Harman Kalra Message-Id: <20211019183736.3E55A121D26@dpdk.org> Date: Tue, 19 Oct 2021 20:37:36 +0200 (CEST) Subject: [dpdk-test-report] |WARNING| pw102292 [PATCH v4 2/7] eal/interrupts: implement get set APIs 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/102292 _coding style issues_ WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #135: FILE: lib/eal/common/eal_common_interrupts.c:16: +#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) total: 0 errors, 1 warnings, 1489 lines checked