From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 1017) id 540001B018; Tue, 2 Jan 2018 13:44:33 +0100 (CET) In-Reply-To: <20180102125749.2379-2-shreyansh.jain@nxp.com> References: <20180102125749.2379-2-shreyansh.jain@nxp.com> To: test-report@dpdk.org Cc: Shreyansh Jain Message-Id: <20180102124433.540001B018@dpdk.org> Date: Tue, 2 Jan 2018 13:44:33 +0100 (CET) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw32829 [PATCH v1 1/5] rawdev: introduce raw device library support 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, 02 Jan 2018 12:44:33 -0000 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/32829 _coding style issues_ WARNING:TYPO_SPELLING: 'reseting' may be misspelled - perhaps 'resetting'? #865: FILE: lib/librte_rawdev/rte_rawdev.h:237: + * !0 for failure in reseting WARNING:TYPO_SPELLING: 'successfull' may be misspelled - perhaps 'successful'? #1192: FILE: lib/librte_rawdev/rte_rawdev.h:564: + * 0 for successfull Load WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #1266: FILE: lib/librte_rawdev/rte_rawdev_pmd.h:46: +#define RTE_RAWDEV_VALID_DEVID_OR_ERR_RET(dev_id, retval) do { \ + if (!rte_rawdev_pmd_is_valid_dev((dev_id))) { \ + RTE_RDEV_ERR("Invalid dev_id=%d", dev_id); \ + return retval; \ + } \ +} while (0) WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #1273: FILE: lib/librte_rawdev/rte_rawdev_pmd.h:53: +#define RTE_RAWDEV_VALID_DEVID_OR_RET(dev_id) do { \ + if (!rte_rawdev_pmd_is_valid_dev((dev_id))) { \ + RTE_RDEV_ERR("Invalid dev_id=%d", dev_id); \ + return; \ + } \ +} while (0) WARNING:TYPO_SPELLING: 'successfull' may be misspelled - perhaps 'successful'? #1674: FILE: lib/librte_rawdev/rte_rawdev_pmd.h:454: + * >0, ~0: for successfull load total: 0 errors, 5 warnings, 1774 lines checked