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

checkpatch at dpdk.org checkpatch at dpdk.org
Tue May 26 10:57:58 CEST 2026


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

_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'?
#1819: FILE: app/test/test_fastmem_perf.c:8:
+#include <stdio.h>
           ^^^^^

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

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

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

WARNING:LONG_LINE: line length of 142 exceeds 100 columns
#2120: FILE: app/test/test_fastmem_perf.c:309:
+	{ "fastmem_h",  fastmem_h_setup, fastmem_h_teardown, fastmem_h_alloc,   fastmem_h_free,   fastmem_h_alloc_bulk, fastmem_h_free_bulk },

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

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

WARNING:LONG_LINE: line length of 137 exceeds 100 columns
#2123: FILE: app/test/test_fastmem_perf.c:312:
+	{ "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'?
#2142: FILE: app/test/test_fastmem_perf.c:331:
+	/* Warmup. */
 	   ^^^^^^

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

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

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

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

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

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

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

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

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

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


More information about the test-report mailing list