|WARNING| pw126293 [PATCH] app/dma-perf: introduce dma-perf application

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Apr 20 09:57:42 CEST 2023


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

_coding style issues_


WARNING:TYPO_SPELLING: 'stdio' may be misspelled - perhaps 'studio'?
#118: FILE: app/test-dma-perf/benchmark.c:6:
+#include <stdio.h>

WARNING:LONG_LINE: line length of 118 exceeds 100 columns
#206: FILE: app/test-dma-perf/benchmark.c:94:
+	printf("average cycles/op: %" PRIu64 ", buffer size: %u, nr_buf: %u, memory: %uMB, frequency: %" PRIu64 ".
",

WARNING:LONG_LINE: line length of 105 exceeds 100 columns
#258: FILE: app/test-dma-perf/benchmark.c:146:
+		rte_exit(EXIT_FAILURE, "Error, no configured queues reported on device id %u
", dev_id);

WARNING:TYPO_SPELLING: 'stdio' may be misspelled - perhaps 'studio'?
#652: FILE: app/test-dma-perf/main.c:5:
+#include <stdio.h>

ERROR:C99_COMMENTS: do not use C99 // comments
#961: FILE: app/test-dma-perf/main.c:314:
+			i++;	// skip the value argument

ERROR:C99_COMMENTS: do not use C99 // comments
#1010: FILE: app/test-dma-perf/main.c:363:
+		// if the result output file is not configured, let it base on the config file name.

total: 2 errors, 4 warnings, 1048 lines checked


More information about the test-report mailing list