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

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Mar 21 18:58:33 CET 2019


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

_coding style issues_


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


More information about the test-report mailing list