automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw31792 [PATCH 08/11] net/vhostpci: add RX function
       [not found] <20171130094657.11470-9-zhiyong.yang@intel.com>
@ 2017-11-30  9:48 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-11-30  9:48 UTC (permalink / raw)
  To: test-report; +Cc: Zhiyong Yang

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

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'desc->len == dev->vhost_hlen'
#98: FILE: drivers/net/vhostpci/vhostpci_ethdev.c:368:
+	if (likely((desc->len == dev->vhost_hlen) &&
+		   (desc->flags & VRING_DESC_F_NEXT) != 0)) {

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'cur == m'
#126: FILE: drivers/net/vhostpci/vhostpci_ethdev.c:396:
+		if (likely(cpy_len > MAX_BATCH_LEN ||
+			   copy_nb >= vq->size ||
+			   (cur == m))) {

CHECK:BRACES: Blank lines aren't necessary before a close brace '}'
#175: FILE: drivers/net/vhostpci/vhostpci_ethdev.c:445:
+
+		}

CHECK:BRACES: Blank lines aren't necessary before a close brace '}'
#302: FILE: drivers/net/vhostpci/vhostpci_ethdev.c:572:
+
+	}

total: 0 errors, 0 warnings, 4 checks, 335 lines checked

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

only message in thread, other threads:[~2017-11-30  9:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20171130094657.11470-9-zhiyong.yang@intel.com>
2017-11-30  9:48 ` [dpdk-test-report] |WARNING| pw31792 [PATCH 08/11] net/vhostpci: add RX function 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).