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

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Apr 10 20:02:11 CEST 2025


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

_coding style issues_


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


More information about the test-report mailing list