|WARNING| pw104544 [RFC 1/1] vhost: integrate dmadev in asynchronous datapath

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Nov 22 03:53:57 CET 2021


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

_coding style issues_


WARNING:TYPO_SPELLING: 'applcations' may be misspelled - perhaps 'applications'?
#170: FILE: doc/guides/prog_guide/vhost_lib.rst:431:
+enables applcations, like OVS, to save CPU cycles and hide memory copy

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#1039: FILE: lib/vhost/vhost.h:55:
+#define VHOST_ASYNC_DMA_TRACK_RING_SIZE (uint32_t)4096

WARNING:TYPO_SPELLING: 'arry' may be misspelled - perhaps 'array'?
#1094: FILE: lib/vhost/vhost.h:171:
+	 * Note that this arry could be written by multiple

WARNING:BRACES: braces {} are not necessary for single statement blocks
#1152: FILE: lib/vhost/virtio_net.c:67:
+		if (unlikely(dma_space_left < nr_segs)) {
+			goto out;
+		}

WARNING:BRACES: braces {} are not necessary for single statement blocks
#1211: FILE: lib/vhost/virtio_net.c:126:
+	if (nr_copies == 0) {
+		goto out;
+	}

total: 1 errors, 4 warnings, 1006 lines checked


More information about the test-report mailing list