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

checkpatch at dpdk.org checkpatch at dpdk.org
Sat May 30 11:26:30 CEST 2026


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

_coding style issues_


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

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

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

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

WARNING:LONG_LINE: line length of 140 exceeds 100 columns
#2577: 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
#2578: 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
#2579: 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
#2580: 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
#2581: 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'?
#2600: FILE: app/test/test_fastmem_perf.c:331:
+	/* Warmup. */
 	   ^^^^^^

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

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

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

WARNING:TYPO_SPELLING: 'warmup' may be misspelled - perhaps 'warm up'?
#2853: 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'?
#2916: FILE: app/test/test_fastmem_perf.c:647:
+	/* Warmup. */
 	   ^^^^^^

WARNING:TYPO_SPELLING: 'warmup' may be misspelled - perhaps 'warm up'?
#2917: 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'?
#2980: FILE: app/test/test_fastmem_perf.c:711:
+		wa->warmup = MULTI_WARMUP;
 		    ^^^^^^

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

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

total: 1 errors, 18 warnings, 3317 lines checked


More information about the test-report mailing list