[dpdk-test-report] |WARNING| pw65108 [PATCH v3 1/3] app: use RTE_DIM to calculate array size

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Jan 24 05:57:20 CET 2020


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

_coding style issues_


ERROR:SPACING: space prohibited before that '++' (ctx:WxB)
#596: FILE: app/test/test_func_reentrancy.c:483:
+	for (case_id = 0; case_id < RTE_DIM(test_cases); case_id ++) {
 	                                                         ^

WARNING:BRACES: braces {} are not necessary for single statement blocks
#750: FILE: app/test/test_memcpy_perf.c:254:
+	for (i = 0; i < RTE_DIM(buf_sizes); i++) {
 		ALL_PERF_TESTS_FOR_SIZE((size_t)buf_sizes[i]);
 	}

WARNING:BRACES: braces {} are not necessary for single statement blocks
#761: FILE: app/test/test_memcpy_perf.c:264:
+	for (i = 0; i < RTE_DIM(buf_sizes); i++) {
 		ALL_PERF_TESTS_FOR_SIZE_UNALIGNED((size_t)buf_sizes[i]);
 	}

total: 1 errors, 2 warnings, 551 lines checked


More information about the test-report mailing list