|WARNING| pw152415 [PATCH v5 3/3] app/test: add tests for portable version of __builtin_add_overflow

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Mar 14 15:34:40 CET 2025


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

_coding style issues_


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

total: 0 errors, 1 warnings, 184 lines checked


More information about the test-report mailing list