automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| [PATCH v2 3/6] eventdev: implement the northbound APIs
       [not found] <1480996340-29871-4-git-send-email-jerin.jacob@caviumnetworks.com>
@ 2016-12-06  3:53 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2016-12-06  3:53 UTC (permalink / raw)
  To: test-report; +Cc: Jerin Jacob

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

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

only message in thread, other threads:[~2016-12-06  3:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1480996340-29871-4-git-send-email-jerin.jacob@caviumnetworks.com>
2016-12-06  3:53 ` [dpdk-test-report] |WARNING| [PATCH v2 3/6] eventdev: implement the northbound APIs 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).