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 EC3DAA0C47 for ; Mon, 18 Oct 2021 22:56:39 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D9C86410EB; Mon, 18 Oct 2021 22:56:39 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id C2D45410E4 for ; Mon, 18 Oct 2021 22:56:38 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id BC24F121D26; Mon, 18 Oct 2021 22:56:38 +0200 (CEST) In-Reply-To: <20211018193707.123559-3-hkalra@marvell.com> References: <20211018193707.123559-3-hkalra@marvell.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Harman Kalra Message-Id: <20211018205638.BC24F121D26@dpdk.org> Date: Mon, 18 Oct 2021 22:56:38 +0200 (CEST) Subject: [dpdk-test-report] |WARNING| pw102089 [PATCH v3 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/102089 _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, 1492 lines checked