|WARNING| pw128771 [PATCH v2 1/3] eventdev: introduce event dispatcher

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Jun 16 09:48:32 CEST 2023


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

_coding style issues_


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

total: 0 errors, 1 warnings, 1307 lines checked


More information about the test-report mailing list