From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 1017) id 961401B270; Tue, 14 Nov 2017 23:44:32 +0100 (CET) In-Reply-To: <1510699450-29204-1-git-send-email-gage.eads@intel.com> References: <1510699450-29204-1-git-send-email-gage.eads@intel.com> To: test-report@dpdk.org Cc: Gage Eads Message-Id: <20171114224432.961401B270@dpdk.org> Date: Tue, 14 Nov 2017 23:44:32 +0100 (CET) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw31370 [PATCH] eventdev: set rte errno in port link/unlink functions X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Nov 2017 22:44:32 -0000 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/31370 _coding style issues_ WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #114: FILE: lib/librte_eventdev/rte_eventdev_pmd.h:79: +#define RTE_EVENTDEV_VALID_DEVID_OR_ERRNO_RET(dev_id, errno, retval) do { \ + if (!rte_event_pmd_is_valid_dev((dev_id))) { \ + RTE_EDEV_LOG_ERR("Invalid dev_id=%d ", dev_id); \ + rte_errno = errno; \ + return retval; \ + } \ +} while (0) total: 0 errors, 1 warnings, 82 lines checked