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

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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#630: 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
#637: 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, 1000 lines checked

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

only message in thread, other threads:[~2020-12-18  8:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20201218074736.93999-2-chenbo.xia@intel.com>
2020-12-18  8:03 ` [dpdk-test-report] |WARNING| pw85400 [PATCH 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).