|WARNING| pw141914 [PATCH v3 1/2] cryptodev: fix crypto callbacks on unsetting callbacks macro

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Jun 27 00:00:42 CEST 2024


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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#96: FILE: app/test/test_cryptodev.c:121:
+#define TEST_SKIP_LOG(cond, msg, ...) do {				\
+	if ((cond)) {							\
+		RTE_LOG(ERR, CRYPTODEV, "%s line %d: "			\
+			msg "
", __func__, __LINE__, ##__VA_ARGS__);	\
+		RTE_TEST_TRACE_FAILURE(__FILE__, __LINE__, __func__);	\
+		return TEST_SKIPPED;					\
+	}								\
+} while (0)

total: 0 errors, 1 warnings, 215 lines checked


More information about the test-report mailing list