|WARNING| pw127151 [RFC v3 1/3] eventdev: introduce event dispatcher

checkpatch at dpdk.org checkpatch at dpdk.org
Mon May 22 11:24:19 CEST 2023


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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#242: FILE: lib/eventdev/rte_event_dispatcher.c:78:
+#define RED_VALID_ID_OR_RET_EINVAL(id)					\
+	do {								\
+		if (unlikely(!red_has_dispatcher(id))) {		\
+			RTE_EDEV_LOG_ERR("Invalid dispatcher id %d
", id); \
+			return -EINVAL;					\
+		}							\
+	} while (0)

total: 0 errors, 1 warnings, 1142 lines checked


More information about the test-report mailing list