automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw79367 [PATCH v2] pci: support both PIO and MMIO BAR for legacy virtio on x86
       [not found] <68ecd941-9c56-4de7-fae2-2ad15bdfd81a@alibaba-inc.com>
@ 2020-09-30 15:02 ` checkpatch
  2020-09-30 16:55 ` [dpdk-test-report] |WARNING| pw79367 doc: make doxygen comply with meson werror option 0-day Robot
  1 sibling, 0 replies; 2+ messages in thread
From: checkpatch @ 2020-09-30 15:02 UTC (permalink / raw)
  To: test-report
  Cc:  谢华伟(此时此刻) 

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 3961 bytes --]

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

_coding style issues_

Must be a reply to the first patch (--in-reply-to).


ERROR:GIT_COMMIT_ID: Please use git commit description style 'commit <12+ chars of sha1> ("<title line>")' - ie: 'commit 0123456789ab ("commit description")'
#67: 
From c13f981e287254cd0877cc7b98ee2dd7b80c3b69 Mon Sep 17 00:00:00 2001

WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#70: 
Subject: [PATCH v2] pci:  support both PIO and MMIO BAR for legacy virtio on

ERROR:CORRUPTED_PATCH: patch seems to be corrupt (line wrapped?)
#234: FILE: drivers/bus/pci/linux/pci.c:686:
rte_pci_device *device,

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (0, 0)
#311: FILE: drivers/bus/pci/linux/pci.c:699:
          if (pci_vfio_is_enabled())
+            ret = pci_uio_ioport_map(dev, bar, p);

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (0, 0)
#362: FILE: drivers/bus/pci/linux/pci.c:763:
          if (pci_vfio_is_enabled())
+            ret = pci_uio_ioport_unmap(p);

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#388: FILE: drivers/bus/pci/linux/pci_uio.c:376:
+    FILE *f = NULL;
             ^

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (0, 0)
#408: FILE: drivers/bus/pci/linux/pci_uio.c:391:
+    if (f == NULL) {
+        RTE_LOG(ERR, EAL, "Cannot open sysfs resource: %s
",

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (0, 0)
#417: FILE: drivers/bus/pci/linux/pci_uio.c:397:
+    for (i = 0; i < bar + 1; i++) {
+        if (fgets(buf, sizeof(buf), f) == NULL) {

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (0, 0)
#418: FILE: drivers/bus/pci/linux/pci_uio.c:398:
+        if (fgets(buf, sizeof(buf), f) == NULL) {
+            RTE_LOG(ERR, EAL, "Cannot read sysfs resource
");

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (0, 0)
#423: FILE: drivers/bus/pci/linux/pci_uio.c:403:
+    if (pci_parse_one_sysfs_resource(buf, sizeof(buf), &phys_addr,
[...]
+        goto error;

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (0, 0)
#434: FILE: drivers/bus/pci/linux/pci_uio.c:407:
+    if (flags & IORESOURCE_IO) {
+        iobar = 1;

ERROR:TRAILING_WHITESPACE: trailing whitespace
#437: FILE: drivers/bus/pci/linux/pci_uio.c:410:
+        RTE_LOG(INFO, EAL, "%s(): PIO BAR %08lx detected
", __func__, $

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (0, 0)
#439: FILE: drivers/bus/pci/linux/pci_uio.c:411:
+    } else if (flags & IORESOURCE_MEM) {
+        iobar = 0;

ERROR:TRAILING_WHITESPACE: trailing whitespace
#442: FILE: drivers/bus/pci/linux/pci_uio.c:414:
+        RTE_LOG(INFO, EAL, "%s(): MMIO BAR %08lx detected
", __func__, $

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (0, 0)
#444: FILE: drivers/bus/pci/linux/pci_uio.c:415:
+    } else {
+        RTE_LOG(ERR, EAL, "%s(): unknown BAR type
", __func__);

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (0, 0)
#449: FILE: drivers/bus/pci/linux/pci_uio.c:420:
+    if (iobar && rte_eal_iopl_init() != 0) {
+        RTE_LOG(ERR, EAL, "%s(): insufficient ioport permissions for 

ERROR:TRAILING_WHITESPACE: trailing whitespace
#450: FILE: drivers/bus/pci/linux/pci_uio.c:421:
+        RTE_LOG(ERR, EAL, "%s(): insufficient ioport permissions for $

ERROR:SPACING: spaces required around that '=' (ctx:VxV)
#480: FILE: drivers/bus/pci/linux/pci_uio.c:443:
+    RTE_LOG(DEBUG, EAL, "PCI IO port found start=0x%lx
", base);
                                                    ^

total: 7 errors, 11 warnings, 363 lines checked

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [dpdk-test-report] |WARNING| pw79367 doc: make doxygen comply with meson werror option
       [not found] <68ecd941-9c56-4de7-fae2-2ad15bdfd81a@alibaba-inc.com>
  2020-09-30 15:02 ` [dpdk-test-report] |WARNING| pw79367 [PATCH v2] pci: support both PIO and MMIO BAR for legacy virtio on x86 checkpatch
@ 2020-09-30 16:55 ` 0-day Robot
  1 sibling, 0 replies; 2+ messages in thread
From: 0-day Robot @ 2020-09-30 16:55 UTC (permalink / raw)
  To: test-report; +Cc: huawei.xhw, robot

From: robot@bytheb.org

Test-Label: travis-robot
Test-Status: WARNING
http://dpdk.org/patch/79367

_Travis build: failed_
Build URL: https://travis-ci.com/ovsrobot/dpdk/builds/187440701

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-30 16:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <68ecd941-9c56-4de7-fae2-2ad15bdfd81a@alibaba-inc.com>
2020-09-30 15:02 ` [dpdk-test-report] |WARNING| pw79367 [PATCH v2] pci: support both PIO and MMIO BAR for legacy virtio on x86 checkpatch
2020-09-30 16:55 ` [dpdk-test-report] |WARNING| pw79367 doc: make doxygen comply with meson werror option 0-day Robot

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).