|WARNING| pw164359 [RFC 3/3] app/test: add fastmem test suite

checkpatch at dpdk.org checkpatch at dpdk.org
Mon May 25 12:37:10 CEST 2026


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

_coding style issues_


WARNING:TYPO_SPELLING: 'stdio' may be misspelled - perhaps 'studio'?
#142: FILE: app/test/test_fastmem.c:10:
+#include <stdio.h>
           ^^^^^

WARNING:TYPO_SPELLING: 'stdio' may be misspelled - perhaps 'studio'?
#1828: FILE: app/test/test_fastmem_perf.c:8:
+#include <stdio.h>
           ^^^^^

WARNING:TYPO_SPELLING: 'warmup' may be misspelled - perhaps 'warm up'?
#1849: FILE: app/test/test_fastmem_perf.c:29:
+/* Number of ops for warmup and measurement. */
                      ^^^^^^

ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1888: FILE: app/test/test_fastmem_perf.c:68:
+static void * __rte_noinline

WARNING:LONG_LINE: line length of 134 exceeds 100 columns
#2086: FILE: app/test/test_fastmem_perf.c:266:
+	{ "fastmem",    fastmem_setup, fastmem_teardown, fastmem_alloc,     fastmem_free,     fastmem_alloc_bulk, fastmem_free_bulk },

WARNING:LONG_LINE: line length of 134 exceeds 100 columns
#2087: FILE: app/test/test_fastmem_perf.c:267:
+	{ "mempool",    mempool_setup, mempool_teardown, mempool_alloc_one, mempool_free_one, mempool_alloc_bulk, mempool_free_bulk },

WARNING:LONG_LINE: line length of 133 exceeds 100 columns
#2088: FILE: app/test/test_fastmem_perf.c:268:
+	{ "rte_malloc", malloc_setup,  malloc_teardown,  malloc_alloc,      malloc_free,      malloc_alloc_bulk,  malloc_free_bulk },

WARNING:LONG_LINE: line length of 131 exceeds 100 columns
#2089: FILE: app/test/test_fastmem_perf.c:269:
+	{ "libc",       libc_setup,    libc_teardown,    libc_alloc,        libc_free,        libc_alloc_bulk,    libc_free_bulk },

WARNING:TYPO_SPELLING: 'Warmup' may be misspelled - perhaps 'Warm up'?
#2108: FILE: app/test/test_fastmem_perf.c:288:
+	/* Warmup. */
 	   ^^^^^^

WARNING:TYPO_SPELLING: 'Warmup' may be misspelled - perhaps 'Warm up'?
#2155: FILE: app/test/test_fastmem_perf.c:335:
+	/* Warmup. */
 	   ^^^^^^

WARNING:TYPO_SPELLING: 'warmup' may be misspelled - perhaps 'warm up'?
#2334: FILE: app/test/test_fastmem_perf.c:514:
+	unsigned int warmup;
 	             ^^^^^^

WARNING:TYPO_SPELLING: 'Warmup' may be misspelled - perhaps 'Warm up'?
#2360: FILE: app/test/test_fastmem_perf.c:540:
+	/* Warmup. */
 	   ^^^^^^

WARNING:TYPO_SPELLING: 'warmup' may be misspelled - perhaps 'warm up'?
#2361: FILE: app/test/test_fastmem_perf.c:541:
+	for (i = 0; i < wa->warmup; i++) {
 	                    ^^^^^^

WARNING:TYPO_SPELLING: 'Warmup' may be misspelled - perhaps 'Warm up'?
#2424: FILE: app/test/test_fastmem_perf.c:604:
+	/* Warmup. */
 	   ^^^^^^

WARNING:TYPO_SPELLING: 'warmup' may be misspelled - perhaps 'warm up'?
#2425: FILE: app/test/test_fastmem_perf.c:605:
+	for (i = 0; i < wa->warmup; i++) {
 	                    ^^^^^^

WARNING:TYPO_SPELLING: 'warmup' may be misspelled - perhaps 'warm up'?
#2488: FILE: app/test/test_fastmem_perf.c:668:
+		wa->warmup = MULTI_WARMUP;
 		    ^^^^^^

WARNING:TYPO_SPELLING: 'stdio' may be misspelled - perhaps 'studio'?
#2843: FILE: app/test/test_fastmem_profile.c:20:
+#include <stdio.h>
           ^^^^^

WARNING:TYPO_SPELLING: 'warmup' may be misspelled - perhaps 'warm up'?
#2862: FILE: app/test/test_fastmem_profile.c:39:
+ * cache (no bin interaction after warmup).
                                    ^^^^^^

total: 1 errors, 17 warnings, 2845 lines checked
Please use __rte_cache_aligned only for struct or union types alignment.


More information about the test-report mailing list