[dpdk-test-report] |WARNING| pw67813 [PATCH v4 2/4] test/rcu: test cases for RCU defer queue APIs

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Apr 3 20:42:23 CEST 2020


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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#90: FILE: app/test/test_rcu_qsbr.c:29:
+#define TEST_RCU_QSBR_GOTO_IF_ERROR(label, cond, str, ...) \
+do { \
+	if (cond) { \
+		printf("ERROR file %s, line %d: " str "
", __FILE__, \
+			__LINE__, ##__VA_ARGS__); \
+		goto label; \
+	} \
+} while (0)

total: 0 errors, 1 warnings, 408 lines checked


More information about the test-report mailing list