[dpdk-test-report] |WARNING| pw53089 [PATCH v8 2/4] test/rcu_qsbr: add API and functional tests

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Apr 26 06:41:39 CEST 2019


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

_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)

WARNING:LONG_LINE: line over 90 characters
#1554: FILE: app/test/test_rcu_qsbr_perf.c:416:
+	printf("
Perf test: 1 writer, %d readers, 1 QSBR variable, 1 QSBR Query, Blocking QSBR Check
", num_cores);

WARNING:LONG_LINE: line over 90 characters
#1665: FILE: app/test/test_rcu_qsbr_perf.c:527:
+	printf("Perf test: 1 writer, %d readers, 1 QSBR variable, 1 QSBR Query, Non-Blocking QSBR check
", num_cores);

total: 0 errors, 3 warnings, 1775 lines checked


More information about the test-report mailing list