automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw34351 [PATCH v2 01/10] rawdev: introduce raw device library support
       [not found] <20180123135910.10755-2-shreyansh.jain@nxp.com>
@ 2018-01-23 14:26 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2018-01-23 14:26 UTC (permalink / raw)
  To: test-report; +Cc: Shreyansh Jain

Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/34351

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#854: 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
#861: 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)

total: 0 errors, 2 warnings, 1101 lines checked

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-01-23 14:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20180123135910.10755-2-shreyansh.jain@nxp.com>
2018-01-23 14:26 ` [dpdk-test-report] |WARNING| pw34351 [PATCH v2 01/10] rawdev: introduce raw device library support checkpatch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).