[dpdk-test-report] |WARNING| pw49251 [RFC, v2, 2/2] test/rcu_qsbr: add API and functional tests

checkpatch at dpdk.org checkpatch at dpdk.org
Sat Dec 22 03:15:37 CET 2018


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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#116: FILE: test/test/test_rcu_qsbr.c:17:
+#define 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, 844 lines checked


More information about the test-report mailing list