automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw29131 [PATCH v2] vhost: Expose virtio interrupt need on rte_vhost API
       [not found] <CFF8EF42F1132E4CBE2BF0AB6C21C58D7881780F@ESESSMB107.ericsson.se>
@ 2017-09-23 20:24 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-09-23 20:24 UTC (permalink / raw)
  To: test-report; +Cc: Jan Scheurich

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

_coding style issues_


WARNING:LEADING_SPACE: please, no spaces at the start of a line
#85: FILE: lib/librte_vhost/vhost.c:509:
+       struct virtio_net *dev;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#86: FILE: lib/librte_vhost/vhost.c:510:
+       struct vhost_virtqueue *vq;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#88: FILE: lib/librte_vhost/vhost.c:512:
+       dev = get_device(vid);$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#89: FILE: lib/librte_vhost/vhost.c:513:
+       if (dev == NULL)$

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (7, 15)
#89: FILE: lib/librte_vhost/vhost.c:513:
+       if (dev == NULL)
+               return 0;

ERROR:CODE_INDENT: code indent should use tabs where possible
#90: FILE: lib/librte_vhost/vhost.c:514:
+               return 0;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#90: FILE: lib/librte_vhost/vhost.c:514:
+               return 0;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#92: FILE: lib/librte_vhost/vhost.c:516:
+       vq = dev->virtqueue[qid];$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#93: FILE: lib/librte_vhost/vhost.c:517:
+       if (vq == NULL)$

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (7, 15)
#93: FILE: lib/librte_vhost/vhost.c:517:
+       if (vq == NULL)
+               return 0;

ERROR:CODE_INDENT: code indent should use tabs where possible
#94: FILE: lib/librte_vhost/vhost.c:518:
+               return 0;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#94: FILE: lib/librte_vhost/vhost.c:518:
+               return 0;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#96: FILE: lib/librte_vhost/vhost.c:520:
+       if (unlikely(vq->enabled == 0 || vq->avail == NULL))$

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (7, 15)
#96: FILE: lib/librte_vhost/vhost.c:520:
+       if (unlikely(vq->enabled == 0 || vq->avail == NULL))
+               return 0;

ERROR:CODE_INDENT: code indent should use tabs where possible
#97: FILE: lib/librte_vhost/vhost.c:521:
+               return 0;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#97: FILE: lib/librte_vhost/vhost.c:521:
+               return 0;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#99: FILE: lib/librte_vhost/vhost.c:523:
+       return !(vq->avail->flags & VRING_AVAIL_F_NO_INTERRUPT);$

total: 3 errors, 14 warnings, 40 lines checked

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

only message in thread, other threads:[~2017-09-23 20:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CFF8EF42F1132E4CBE2BF0AB6C21C58D7881780F@ESESSMB107.ericsson.se>
2017-09-23 20:24 ` [dpdk-test-report] |WARNING| pw29131 [PATCH v2] vhost: Expose virtio interrupt need on rte_vhost API 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).