|WARNING| pw149572 [PATCH 5/5] app/test: add tests for portable versions of __builtin_add_overflow

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Jan 2 23:33:06 CET 2025


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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#94: FILE: app/test/test_math.c:11:
+#define TEST_MATH_RETURN_IF_ERROR(X) \
+do { \
+	if (X) { \
+		return -1; \
+	} \
+} while (0)

total: 0 errors, 1 warnings, 132 lines checked


More information about the test-report mailing list