[dpdk-test-report] |WARNING| pw103978 [PATCH v5 8/9] gpudev: add communication list
checkpatch at dpdk.org
checkpatch at dpdk.org
Mon Nov 8 11:49:10 CET 2021
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/103978
_coding style issues_
WARNING:TYPO_SPELLING: 'erroneusly' may be misspelled - perhaps 'erroneously'?
#241: FILE: app/test-gpudev/main.c:271:
+ fprintf(stderr, "rte_gpu_comm_cleanup_list erroneusly cleaned the list even if packets have not beeing consumed yet
");
WARNING:TYPO_SPELLING: 'beeing' may be misspelled - perhaps 'being'?
#241: FILE: app/test-gpudev/main.c:271:
+ fprintf(stderr, "rte_gpu_comm_cleanup_list erroneusly cleaned the list even if packets have not beeing consumed yet
");
WARNING:UNNECESSARY_ELSE: else is not generally useful after a break or return
#243: FILE: app/test-gpudev/main.c:273:
+ return -1;
+ } else {
WARNING:TYPO_SPELLING: 'beeing' may be misspelled - perhaps 'being'?
#244: FILE: app/test-gpudev/main.c:274:
+ fprintf(stderr, "rte_gpu_comm_cleanup_list correctly didn't clean up the packets because they have not beeing consumed yet
");
WARNING:TYPO_SPELLING: 'expecially' may be misspelled - perhaps 'especially'?
#300: FILE: doc/guides/prog_guide/gpudev.rst:94:
+Best practice, expecially in a multithreaded application,
WARNING:LONG_LINE: line length of 101 exceeds 100 columns
#360: FILE: lib/gpudev/gpudev.c:766:
+ ret = rte_gpu_register(dev_id, sizeof(struct rte_gpu_comm_list) * num_comm_items, comm_list);
WARNING:LONG_LINE: line length of 127 exceeds 100 columns
#367: FILE: lib/gpudev/gpudev.c:773:
+ comm_list[idx_l].pkt_list = rte_zmalloc(NULL, sizeof(struct rte_gpu_comm_pkt) * RTE_GPU_COMM_LIST_PKTS_MAX, 0);
WARNING:LONG_LINE: line length of 136 exceeds 100 columns
#373: FILE: lib/gpudev/gpudev.c:779:
+ ret = rte_gpu_register(dev_id, sizeof(struct rte_gpu_comm_pkt) * RTE_GPU_COMM_LIST_PKTS_MAX, comm_list[idx_l].pkt_list);
WARNING:LONG_LINE: line length of 118 exceeds 100 columns
#383: FILE: lib/gpudev/gpudev.c:789:
+ comm_list[idx_l].mbufs = rte_zmalloc(NULL, sizeof(struct rte_mbuf *) * RTE_GPU_COMM_LIST_PKTS_MAX, 0);
total: 0 errors, 9 warnings, 472 lines checked
More information about the test-report
mailing list