* [dpdk-test-report] |WARNING| pw37275 [PATCH v3 14/21] vhost: dequeue for packed queues
[not found] <20180405101031.26468-15-jfreimann@redhat.com>
@ 2018-04-05 10:13 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2018-04-05 10:13 UTC (permalink / raw)
To: test-report; +Cc: Jens Freimann
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
^ permalink raw reply [flat|nested] only message in thread