[dpdk-test-report] |WARNING| pw96397 [PATCH v12 4/6] dmadev: introduce DMA device library implementation

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Jul 29 15:12:46 CEST 2021


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

_coding style issues_


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


More information about the test-report mailing list