|WARNING| pw131941 [PATCH v4 03/12] eventdev: create and free API for DMA adapter
checkpatch at dpdk.org
checkpatch at dpdk.org
Tue Sep 26 12:33:37 CEST 2023
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/131941
_coding style issues_
WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#140: FILE: lib/eventdev/rte_event_dma_adapter.c:19:
+#define EVENT_DMA_ADAPTER_ID_VALID_OR_ERR_RET(id, retval) \
+ do { \
+ if (!edma_adapter_valid_id(id)) { \
+ RTE_EDEV_LOG_ERR("Invalid DMA adapter id = %d
", id); \
+ return retval; \
+ } \
+ } while (0)
total: 0 errors, 1 warnings, 349 lines checked
More information about the test-report
mailing list