qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: no-reply@patchew.org
To: stefanha@redhat.com
Cc: lvivier@redhat.com, thuth@redhat.com, mst@redhat.com,
	qemu-devel@nongnu.org, stefanha@redhat.com, pbonzini@redhat.com
Subject: Re: [PATCH 0/7] libqos: add VIRTIO PCI 1.0 support
Date: Thu, 10 Oct 2019 14:12:00 -0700 (PDT)	[thread overview]
Message-ID: <157074191940.11314.4445412008409730407@37313f22b938> (raw)
In-Reply-To: <20191010155853.4325-1-stefanha@redhat.com>

Patchew URL: https://patchew.org/QEMU/20191010155853.4325-1-stefanha@redhat.com/



Hi,

This series seems to have some coding style problems. See output below for
more information:

Subject: [PATCH 0/7] libqos: add VIRTIO PCI 1.0 support
Type: series
Message-id: 20191010155853.4325-1-stefanha@redhat.com

=== TEST SCRIPT BEGIN ===
#!/bin/bash
git rev-parse base > /dev/null || exit 0
git config --local diff.renamelimit 0
git config --local diff.renames True
git config --local diff.algorithm histogram
./scripts/checkpatch.pl --mailback base..
=== TEST SCRIPT END ===

Switched to a new branch 'test'
f7c9309 libqos: add VIRTIO PCI 1.0 support
f382525 libqos: make the virtio-pci BAR index configurable
e0aeef1 libqos: expose common virtqueue setup/cleanup functions
e3477ab libqos: add MSI-X callbacks to QVirtioPCIDevice
0042dff libqos: pass full QVirtQueue to set_queue_address()
631d620 libqos: add iteration support to qpci_find_capability()
29a23f9 libqos: extract Legacy virtio-pci.c code

=== OUTPUT BEGIN ===
1/7 Checking commit 29a23f95d7cf (libqos: extract Legacy virtio-pci.c code)
2/7 Checking commit 631d6200075a (libqos: add iteration support to qpci_find_capability())
3/7 Checking commit 0042dff221ea (libqos: pass full QVirtQueue to set_queue_address())
4/7 Checking commit e3477ab2dc8e (libqos: add MSI-X callbacks to QVirtioPCIDevice)
ERROR: line over 90 characters
#31: FILE: tests/libqos/virtio-pci.c:283:
+static void qvirtio_pci_set_queue_vector(QVirtioPCIDevice *d, uint16_t vq_idx, uint16_t entry)

total: 1 errors, 0 warnings, 99 lines checked

Patch 4/7 has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.

5/7 Checking commit e0aeef123dc1 (libqos: expose common virtqueue setup/cleanup functions)
6/7 Checking commit f382525d6da2 (libqos: make the virtio-pci BAR index configurable)
7/7 Checking commit f7c93099d7df (libqos: add VIRTIO PCI 1.0 support)
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
#33: 
new file mode 100644

ERROR: line over 90 characters
#235: FILE: tests/libqos/virtio-pci-modern.c:198:
+static QVirtQueue *virtqueue_setup(QVirtioDevice *d, QGuestAllocator *alloc, uint16_t index)

WARNING: line over 80 characters
#298: FILE: tests/libqos/virtio-pci-modern.c:261:
+static void set_queue_vector(QVirtioPCIDevice *d, uint16_t vq_idx, uint16_t entry)

WARNING: Block comments use a leading /* on a separate line
#328: FILE: tests/libqos/virtio-pci-modern.c:291:
+    /* "Any PCI device with ... PCI Device ID 0x1000 through 0x107F inclusive

WARNING: Block comments use a leading /* on a separate line
#336: FILE: tests/libqos/virtio-pci-modern.c:299:
+    /* "Devices MAY utilize a Transitional PCI Device ID range, 0x1000 to

WARNING: Block comments use a leading /* on a separate line
#340: FILE: tests/libqos/virtio-pci-modern.c:303:
+        /* "Transitional devices MUST have the PCI Subsystem Device ID matching

WARNING: Block comments use a leading /* on a separate line
#345: FILE: tests/libqos/virtio-pci-modern.c:308:
+        /* "The PCI Device ID is calculated by adding 0x1040 to the Virtio

WARNING: Block comments use a leading /* on a separate line
#393: FILE: tests/libqos/virtio-pci-modern.c:356:
+    /* Due to the qpci_iomap() API we only support devices that put all

total: 1 errors, 7 warnings, 469 lines checked

Patch 7/7 has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.

=== OUTPUT END ===

Test command exited with code: 1


The full log is available at
http://patchew.org/logs/20191010155853.4325-1-stefanha@redhat.com/testing.checkpatch/?type=message.
---
Email generated automatically by Patchew [https://patchew.org/].
Please send your feedback to patchew-devel@redhat.com

  parent reply	other threads:[~2019-10-10 21:13 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-10 15:58 [PATCH 0/7] libqos: add VIRTIO PCI 1.0 support Stefan Hajnoczi
2019-10-10 15:58 ` [PATCH 1/7] libqos: extract Legacy virtio-pci.c code Stefan Hajnoczi
2019-10-10 15:58 ` [PATCH 2/7] libqos: add iteration support to qpci_find_capability() Stefan Hajnoczi
2019-10-10 15:58 ` [PATCH 3/7] libqos: pass full QVirtQueue to set_queue_address() Stefan Hajnoczi
2019-10-10 15:58 ` [PATCH 4/7] libqos: add MSI-X callbacks to QVirtioPCIDevice Stefan Hajnoczi
2019-10-10 15:58 ` [PATCH 5/7] libqos: expose common virtqueue setup/cleanup functions Stefan Hajnoczi
2019-10-10 15:58 ` [PATCH 6/7] libqos: make the virtio-pci BAR index configurable Stefan Hajnoczi
2019-10-10 15:58 ` [PATCH 7/7] libqos: add VIRTIO PCI 1.0 support Stefan Hajnoczi
2019-10-10 21:12 ` no-reply [this message]
2019-10-11  8:33   ` [PATCH 0/7] " Stefan Hajnoczi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=157074191940.11314.4445412008409730407@37313f22b938 \
    --to=no-reply@patchew.org \
    --cc=lvivier@redhat.com \
    --cc=mst@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@redhat.com \
    --cc=thuth@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).