[dpdk-test-report] |WARNING| pw52579 [PATCH v4 2/3] test/rcu_qsbr: add API and functional tests

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Apr 10 13:21:35 CEST 2019


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

_coding style issues_


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

total: 0 errors, 1 warnings, 1674 lines checked


More information about the test-report mailing list