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

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

_coding style issues_


CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#270: FILE: drivers/net/vhostpci/vhostpci_ethdev.c:208:
+{
+

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

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around dev->data->dev_link
#301: FILE: drivers/net/vhostpci/vhostpci_ethdev.c:239:
+	struct rte_eth_link *dst = &(dev->data->dev_link);

CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#467: FILE: drivers/net/vhostpci/vhostpci_ethdev.c:405:
+	for (i = 0; i < VHOSTPCI_MAX_QUEUE_PAIRS * 2; i++) {
+

CHECK:BRACES: Blank lines aren't necessary before a close brace '}'
#699: FILE: drivers/net/vhostpci/vhostpci_pci.c:92:
+
+}

CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#825: FILE: drivers/net/vhostpci/vhostpci_pci.c:218:
+	if (offset + length > dev->mem_resource[bar].len) {
+

CHECK:CAMELCASE: Avoid CamelCase: <PRIu64>
#827: FILE: drivers/net/vhostpci/vhostpci_pci.c:220:
+			"invalid cap: overflows bar space: %u > %" PRIu64,

CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#878: FILE: drivers/net/vhostpci/vhostpci_pci.c:271:
+		if (cap.cap_vndr != PCI_CAP_ID_VNDR) {
+

CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#931: FILE: drivers/net/vhostpci/vhostpci_pci.c:324:
+{
+

WARNING:UNNECESSARY_ELSE: else is not generally useful after a break or return
#937: FILE: drivers/net/vhostpci/vhostpci_pci.c:330:
+		return 0;
+	} else {

total: 0 errors, 1 warnings, 892 lines checked

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

only message in thread, other threads:[~2017-11-30  9:47 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-5-zhiyong.yang@intel.com>
2017-11-30  9:47 ` [dpdk-test-report] |WARNING| pw31788 [PATCH 04/11] net/vhostpci: add basic framework 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).