[dpdk-test-report] |WARNING| pw96305 [PATCH v11 1/2] dmadev: introduce DMA device library

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Jul 27 05:45:51 CEST 2021


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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#222: FILE: lib/dmadev/rte_dmadev.c:40:
+#define RTE_DMADEV_VALID_DEV_ID_OR_ERR_RET(dev_id, retval) do { \
+	if (!rte_dmadev_is_valid_dev(dev_id)) { \
+		RTE_DMADEV_LOG(ERR, "Invalid dev_id=%u
", dev_id); \
+		return retval; \
+	} \
+} while (0)

total: 0 errors, 1 warnings, 1962 lines checked
--- a/doc/guides/rel_notes/release_21_08.rst
+++ b/doc/guides/rel_notes/release_21_08.rst


More information about the test-report mailing list