|WARNING| pw127625 [PATCH v5 14/21] test/pdcp: add in-order delivery cases

checkpatch at dpdk.org checkpatch at dpdk.org
Sat May 27 14:13:04 CEST 2023


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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#104: FILE: app/test/test_pdcp.c:20:
+#define ASSERT_TRUE_OR_GOTO(cond, mark, ...) do {\
+	if (!(cond)) { \
+		RTE_LOG(ERR, USER1, "Error at: %s:%d
", __func__, __LINE__); \
+		RTE_LOG(ERR, USER1, __VA_ARGS__); \
+		goto mark; \
+	} \
+} while (0)

total: 0 errors, 1 warnings, 263 lines checked


More information about the test-report mailing list