* |WARNING| pw116362 [RFC] app/dma-perf: introduce dma-perf application
[not found] <20220915154758.688-1-cheng1.jiang@intel.com>
@ 2022-09-15 16:24 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2022-09-15 16:24 UTC (permalink / raw)
To: test-report; +Cc: Cheng Jiang
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/116362
_coding style issues_
WARNING:TYPO_SPELLING: 'Senario' may be misspelled - perhaps 'Scenario'?
#130: FILE: app/test-dma-perf/benchmark.c:18:
+#define CSV_LINE_DMA_FMT "Senario %u,%u,%u,%u,%u,%u,%lu,%.3lf,%lu
"
WARNING:TYPO_SPELLING: 'Senario' may be misspelled - perhaps 'Scenario'?
#131: FILE: app/test-dma-perf/benchmark.c:19:
+#define CSV_LINE_CPU_FMT "Senario %u,%u,NA,%u,%u,%u,%lu,%.3lf,%lu
"
WARNING:TYPO_SPELLING: 'senario' may be misspelled - perhaps 'scenario'?
#142: FILE: app/test-dma-perf/benchmark.c:30:
+ uint8_t senario_id;
WARNING:TYPO_SPELLING: 'senario' may be misspelled - perhaps 'scenario'?
#183: FILE: app/test-dma-perf/benchmark.c:71:
+output_result(uint8_t senario_id, uint32_t lcore_id, uint16_t dev_id, uint64_t ave_cycle,
WARNING:TYPO_SPELLING: 'senario' may be misspelled - perhaps 'scenario'?
#216: FILE: app/test-dma-perf/benchmark.c:104:
+ senario_id, lcore_id, dev_id, buf_size,
WARNING:TYPO_SPELLING: 'senario' may be misspelled - perhaps 'scenario'?
#221: FILE: app/test-dma-perf/benchmark.c:109:
+ senario_id, lcore_id, buf_size,
WARNING:TYPO_SPELLING: 'failt' may be misspelled - perhaps 'fail'?
#328: FILE: app/test-dma-perf/benchmark.c:216:
+ printf("enqueue failt again at %u
", index);
WARNING:TYPO_SPELLING: 'senario' may be misspelled - perhaps 'scenario'?
#386: FILE: app/test-dma-perf/benchmark.c:274:
+ output_result(params->senario_id, lcore_id, dev_id, avg_cycles, buf_size, lcore_nr_buf,
WARNING:TYPO_SPELLING: 'senario' may be misspelled - perhaps 'scenario'?
#436: FILE: app/test-dma-perf/benchmark.c:324:
+ output_result(params->senario_id, lcore_id, 0, avg_cycles, buf_size, lcore_nr_buf,
WARNING:TYPO_SPELLING: 'senario' may be misspelled - perhaps 'scenario'?
#567: FILE: app/test-dma-perf/benchmark.c:455:
+ cfg->senario_id
WARNING:TYPO_SPELLING: 'senario' may be misspelled - perhaps 'scenario'?
#626: FILE: app/test-dma-perf/benchmark.c:514:
+ srcs + offset, dsts + offset, cfg->senario_id };
WARNING:ARRAY_SIZE: Prefer ARRAY_SIZE(output_str)
#790: FILE: app/test-dma-perf/main.c:50:
+ for (i = 0; i < sizeof(output_str) / sizeof(output_str[0]); i++) {
WARNING:ARRAY_SIZE: Prefer ARRAY_SIZE(output_str)
#845: FILE: app/test-dma-perf/main.c:105:
+ for (i = 0; i < sizeof(output_str) / sizeof(output_str[0]); i++)
WARNING:TYPO_SPELLING: 'senario' may be misspelled - perhaps 'scenario'?
#868: FILE: app/test-dma-perf/main.c:128:
+ case_cfg->senario_id = 0;
WARNING:TYPO_SPELLING: 'senario' may be misspelled - perhaps 'scenario'?
#874: FILE: app/test-dma-perf/main.c:134:
+ case_cfg->senario_id++;
WARNING:TYPO_SPELLING: 'senario' may be misspelled - perhaps 'scenario'?
#875: FILE: app/test-dma-perf/main.c:135:
+ printf("
Running senario %d
", case_cfg->senario_id);
WARNING:TYPO_SPELLING: 'senario' may be misspelled - perhaps 'scenario'?
#875: FILE: app/test-dma-perf/main.c:135:
+ printf("
Running senario %d
", case_cfg->senario_id);
WARNING:UNNECESSARY_ELSE: else is not generally useful after a break or return
#1088: FILE: app/test-dma-perf/main.c:348:
+ break;
+ else {
WARNING:UNNECESSARY_ELSE: else is not generally useful after a break or return
#1131: FILE: app/test-dma-perf/main.c:391:
+ return 0;
+ } else
ERROR:TRAILING_STATEMENTS: trailing statements should be on next line
#1132: FILE: app/test-dma-perf/main.c:392:
+ while ((wpid = wait(&status)) > 0);
WARNING:MISSING_EOF_NEWLINE: adding a line without newline at end of file
#1139: FILE: app/test-dma-perf/main.c:399:
+}
WARNING:TYPO_SPELLING: 'senario' may be misspelled - perhaps 'scenario'?
#1194: FILE: app/test-dma-perf/main.h:48:
+ uint8_t senario_id;
total: 1 errors, 21 warnings, 1087 lines checked
Warning in app/test-dma-perf/benchmark.c:
Using %l format, prefer %PRI*64 if type is [u]int64_t
Warning in app/test-dma-perf/benchmark.c:
Declaring a variable inside for()
Warning in app/test-dma-perf/meson.build:
Using experimental build flag for in-tree compilation
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-09-15 16:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20220915154758.688-1-cheng1.jiang@intel.com>
2022-09-15 16:24 ` |WARNING| pw116362 [RFC] app/dma-perf: introduce dma-perf application checkpatch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).