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

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Apr 22 05:30:56 CEST 2020


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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#92: 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