automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw86509 [PATCH v3 1/8] lib: introduce emudev library
       [not found] <20210114062512.45462-2-chenbo.xia@intel.com>
@ 2021-01-14  6:31 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2021-01-14  6:31 UTC (permalink / raw)
  To: test-report; +Cc: Chenbo Xia

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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#647: FILE: lib/librte_emudev/rte_emudev.h:20:
+#define RTE_EMU_CHECK_VALID_DEVID_ERR(dev_id) do { \
+	if (!rte_emudev_is_valid_id(dev_id)) { \
+		RTE_EMUDEV_LOG(ERR, "Invalid dev_id=%u
", dev_id); \
+		return -ENODEV; \
+	} \
+} while (0)

WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#654: FILE: lib/librte_emudev/rte_emudev.h:27:
+#define RTE_EMU_CHECK_VALID_DEVID(dev_id) do { \
+	if (!rte_emudev_is_valid_id(dev_id)) { \
+		RTE_EMUDEV_LOG(ERR, "Invalid dev_id=%u
", dev_id); \
+		return; \
+	} \
+} while (0)

total: 0 errors, 2 warnings, 1037 lines checked

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

only message in thread, other threads:[~2021-01-14  6:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20210114062512.45462-2-chenbo.xia@intel.com>
2021-01-14  6:31 ` [dpdk-test-report] |WARNING| pw86509 [PATCH v3 1/8] lib: introduce emudev library 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).