|WARNING| pw128454 [RFC v4 1/3] eventdev: introduce event dispatcher

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Jun 9 09:16:27 CEST 2023


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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#264: FILE: lib/eventdev/rte_event_dispatcher.c:82:
+#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, 1251 lines checked


More information about the test-report mailing list