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

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Mar 5 17:38:33 CET 2025


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

_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