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

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Mar 27 06:53:57 CET 2019


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

_coding style issues_


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


More information about the test-report mailing list