|WARNING| pw153872 [PATCH v2 1/3] eventdev: introduce event vector adapter

checkpatch at dpdk.org checkpatch at dpdk.org
Fri May 30 00:26:24 CEST 2025


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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#705: FILE: lib/eventdev/rte_event_vector_adapter.c:43:
+#define PTR_VALID_OR_ERR_RET(ptr, retval)                                                          \
+	do {                                                                                       \
+		if (ptr == NULL) {                                                                 \
+			rte_errno = EINVAL;                                                        \
+			return retval;                                                             \
+		}                                                                                  \
+	} while (0)

total: 0 errors, 1 warnings, 1462 lines checked


More information about the test-report mailing list