From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 1017) id 9DD2F558D; Tue, 6 Dec 2016 04:53:41 +0100 (CET) In-Reply-To: <1480996340-29871-4-git-send-email-jerin.jacob@caviumnetworks.com> References: <1480996340-29871-4-git-send-email-jerin.jacob@caviumnetworks.com> To: test-report@dpdk.org Cc: Jerin Jacob Message-Id: <20161206035341.9DD2F558D@dpdk.org> Date: Tue, 6 Dec 2016 04:53:41 +0100 (CET) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| [PATCH v2 3/6] eventdev: implement the northbound APIs 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, 06 Dec 2016 03:53:41 -0000 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/17689 _coding style issues_ WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #1444: FILE: lib/librte_eventdev/rte_eventdev_pmd.h:78: +#define RTE_EVENTDEV_VALID_DEVID_OR_ERR_RET(dev_id, retval) do { \ + if (!rte_event_pmd_is_valid_dev((dev_id))) { \ + RTE_EDEV_LOG_ERR("Invalid dev_id=%d ", dev_id); \ + return retval; \ + } \ +} while (0) WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #1451: FILE: lib/librte_eventdev/rte_eventdev_pmd.h:85: +#define RTE_EVENTDEV_VALID_DEVID_OR_RET(dev_id) do { \ + if (!rte_event_pmd_is_valid_dev((dev_id))) { \ + RTE_EDEV_LOG_ERR("Invalid dev_id=%d ", dev_id); \ + return; \ + } \ +} while (0) total: 0 errors, 2 warnings, 1389 lines checked