|WARNING| pw131817 [PATCH v4 1/3] lib: introduce dispatcher library

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Sep 22 09:45:16 CEST 2023


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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#348: FILE: lib/dispatcher/rte_dispatcher.c:82:
+#define EVD_TRUE_OR_RET_EINVAL(expr, fmt, ...)				\
+	do {								\
+		if (unlikely(!(expr))) {				\
+			RTE_EDEV_LOG_ERR(fmt, __VA_ARGS__);		\
+			return -EINVAL;					\
+		}							\
+	} while (0)

total: 0 errors, 1 warnings, 1356 lines checked


More information about the test-report mailing list