|WARNING| pw149611 [PATCH v2 5/5] app/test: add tests for portable version of __builtin_add_overflow

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Jan 3 21:39:54 CET 2025


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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#96: 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, 177 lines checked


More information about the test-report mailing list