[dpdk-test-report] |WARNING| pw96057 [PATCH v7] dmadev: introduce DMA device library
checkpatch at dpdk.org
checkpatch at dpdk.org
Mon Jul 19 15:10:21 CEST 2021
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/96057
_coding style issues_
WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#254: 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, 1924 lines checked
More information about the test-report
mailing list