[dpdk-test-report] |WARNING| pw37275 [PATCH v3 14/21] vhost: dequeue for packed queues

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Apr 5 12:13:14 CEST 2018


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

_coding style issues_


WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#54: FILE: lib/librte_vhost/vhost.h:115:
+^Iuint16_t ^I^Iused_wrap_counter;$

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 24)
#99: FILE: lib/librte_vhost/virtio_net.c:1147:
+	if (unlikely((desc->len < dev->vhost_hlen)) ||
[...]
+			RTE_LOG(ERR, VHOST_DATA,

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#169: FILE: lib/librte_vhost/virtio_net.c:1217:
+		if (unlikely(dev->dequeue_zero_copy && (hpa = gpa_to_hpa(dev,

WARNING:BRACES: braces {} are not necessary for single statement blocks
#202: FILE: lib/librte_vhost/virtio_net.c:1250:
+			if (unlikely(desc->flags & VRING_DESC_F_INDIRECT)) {
+				RTE_LOG(ERR, VHOST_DATA, "INDIRECT not supported yet");
+			}

total: 1 errors, 3 warnings, 254 lines checked


More information about the test-report mailing list