automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw36167 [PATCH 12/17] vhost: dequeue for packed queues
       [not found] <20180316152120.13199-13-jfreimann@redhat.com>
@ 2018-03-16 15:23 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2018-03-16 15:23 UTC (permalink / raw)
  To: test-report; +Cc: Jens Freimann

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

_coding style issues_


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, 2 warnings, 254 lines checked

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-03-16 15:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20180316152120.13199-13-jfreimann@redhat.com>
2018-03-16 15:23 ` [dpdk-test-report] |WARNING| pw36167 [PATCH 12/17] vhost: dequeue for packed queues 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).