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

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Apr 12 22:21:23 CEST 2019


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

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

WARNING:LONG_LINE: line over 90 characters
#1551: FILE: app/test/test_rcu_qsbr_perf.c:415:
+	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
#1662: FILE: app/test/test_rcu_qsbr_perf.c:526:
+	printf("Perf test: 1 writer, %d readers, 1 QSBR variable, 1 QSBR Query, Non-Blocking QSBR check
", num_cores);

total: 0 errors, 3 warnings, 1772 lines checked


More information about the test-report mailing list