|WARNING| pw132149 [PATCH v6 03/12] eventdev/dma: support adapter create and free

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Sep 28 18:51:32 CEST 2023


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

_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