[dpdk-test-report] |WARNING| pw38479 [PATCH v4 15/20] vhost: dequeue for packed queues

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Apr 19 09:09:45 CEST 2018


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

_coding style issues_


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

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

total: 1 errors, 1 warnings, 245 lines checked


More information about the test-report mailing list