All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: qemu-devel@nongnu.org
Cc: famz@redhat.com, peter.maydell@linaro.org
Subject: Re: [Qemu-devel] [PULL 00/19] virtio, pc: fixes and features
Date: Sat, 24 Sep 2016 01:05:00 +0300	[thread overview]
Message-ID: <20160924010453-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <20160923203527.227108.81665@ex-std-node742.prod.rhcloud.com>

On Fri, Sep 23, 2016 at 01:35:32PM -0700, no-reply@ec2-52-6-146-230.compute-1.amazonaws.com wrote:
> Hi,
> 
> Your series seems to have some coding style problems. See output below for
> more information:
> 
> Type: series
> Message-id: 1474658051-18617-1-git-send-email-mst@redhat.com
> Subject: [Qemu-devel] [PULL 00/19] virtio, pc: fixes and features
> 
> === TEST SCRIPT BEGIN ===
> #!/bin/bash
> 
> BASE=base
> n=1
> total=$(git log --oneline $BASE.. | wc -l)
> failed=0
> 
> # Useful git options
> git config --local diff.renamelimit 0
> git config --local diff.renames True
> 
> commits="$(git log --format=%H --reverse $BASE..)"
> for c in $commits; do
>     echo "Checking PATCH $n/$total: $(git show --no-patch --format=%s $c)..."
>     if ! git show $c --format=email | ./scripts/checkpatch.pl --mailback -; then
>         failed=1
>         echo
>     fi
>     n=$((n+1))
> done
> 
> exit $failed
> === TEST SCRIPT END ===
> 
> Updating 3c8cf5a9c21ff8782164d1def7f44bd888713384
> Switched to a new branch 'test'
> cacc4b0 hw/i386: AMD IOMMU IVRS table
> 9dd76e8 hw/i386: Introduce AMD IOMMU
> 51d6513 hw/i386/trace-events: Add AMD IOMMU trace events
> 2897b28 hw/pci: Prepare for AMD IOMMU
> 9ed4ac9 virtio: handle virtqueue_get_head() errors
> eba15c9 virtio: handle virtqueue_num_heads() errors
> 3c5513c virtio: handle virtqueue_read_next_desc() errors
> 3e2dd44 virtio: use unsigned int for virtqueue_get_avail_bytes() index
> b63060b virtio: handle virtqueue_get_avail_bytes() errors
> a7e238f virtio: handle virtqueue_map_desc() errors
> b1ee7b9 virtio: migrate vdev->broken flag
> 5ae212e virtio: stop virtqueue processing if device is broken
> 7add352 virtio: fix stray tab character
> a8b4e23 target-i386: turn off CPU.l3-cache only for 2.7 and older machine types
> eb0f9de pc: clean up COMPAT macro chaining
> f2df3c1 virtio: add check for descriptor's mapped address
> f2997b7 tests: add /vhost-user/flags-mismatch test
> b612c50 tests: add a simple /vhost-user/multiqueue test
> c38be03 tests: add /vhost-user/connect-fail test
> 
> === OUTPUT BEGIN ===
> Checking PATCH 1/19: tests: add /vhost-user/connect-fail test...
> Checking PATCH 2/19: tests: add a simple /vhost-user/multiqueue test...
> WARNING: line over 80 characters
> #192: FILE: tests/vhost-user-test.c:824:
> +    cmd = g_strdup_printf(QEMU_CMD_MEM QEMU_CMD_CHR QEMU_CMD_NETDEV ",queues=%d "
> 
> total: 0 errors, 1 warnings, 198 lines checked
> 
> Your patch has style problems, please review.  If any of these errors
> are false positives report them to the maintainer, see
> CHECKPATCH in MAINTAINERS.
> Checking PATCH 3/19: tests: add /vhost-user/flags-mismatch test...
> Checking PATCH 4/19: virtio: add check for descriptor's mapped address...
> Checking PATCH 5/19: pc: clean up COMPAT macro chaining...
> Checking PATCH 6/19: target-i386: turn off CPU.l3-cache only for 2.7 and older machine types...
> Checking PATCH 7/19: virtio: fix stray tab character...
> Checking PATCH 8/19: virtio: stop virtqueue processing if device is broken...
> Checking PATCH 9/19: virtio: migrate vdev->broken flag...
> Checking PATCH 10/19: virtio: handle virtqueue_map_desc() errors...
> Checking PATCH 11/19: virtio: handle virtqueue_get_avail_bytes() errors...
> Checking PATCH 12/19: virtio: use unsigned int for virtqueue_get_avail_bytes() index...
> Checking PATCH 13/19: virtio: handle virtqueue_read_next_desc() errors...
> Checking PATCH 14/19: virtio: handle virtqueue_num_heads() errors...
> Checking PATCH 15/19: virtio: handle virtqueue_get_head() errors...
> Checking PATCH 16/19: hw/pci: Prepare for AMD IOMMU...
> Checking PATCH 17/19: hw/i386/trace-events: Add AMD IOMMU trace events...
> Checking PATCH 18/19: hw/i386: Introduce AMD IOMMU...
> ERROR: struct MemoryRegionIOMMUOps should normally be const
> #1527: FILE: hw/i386/amd_iommu.h:280:
> +    MemoryRegionIOMMUOps iommu_ops;


False positive.

> 
> total: 1 errors, 0 warnings, 1495 lines checked
> 
> Your patch has style problems, please review.  If any of these errors
> are false positives report them to the maintainer, see
> CHECKPATCH in MAINTAINERS.
> 
> Checking PATCH 19/19: hw/i386: AMD IOMMU IVRS table...
> === OUTPUT END ===
> 
> Test command exited with code: 1
> 
> 
> ---
> Email generated automatically by Patchew [http://patchew.org/].
> Please send your feedback to patchew-devel@freelists.org

  reply	other threads:[~2016-09-23 22:05 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-23 19:57 [Qemu-devel] [PULL 00/19] virtio, pc: fixes and features Michael S. Tsirkin
2016-09-23 19:57 ` [Qemu-devel] [PULL 01/19] tests: add /vhost-user/connect-fail test Michael S. Tsirkin
2016-09-23 19:57 ` [Qemu-devel] [PULL 02/19] tests: add a simple /vhost-user/multiqueue test Michael S. Tsirkin
2016-09-23 19:57 ` [Qemu-devel] [PULL 03/19] tests: add /vhost-user/flags-mismatch test Michael S. Tsirkin
2016-09-23 19:57 ` [Qemu-devel] [PULL 04/19] virtio: add check for descriptor's mapped address Michael S. Tsirkin
2016-09-23 19:57 ` [Qemu-devel] [PULL 05/19] pc: clean up COMPAT macro chaining Michael S. Tsirkin
2016-09-23 19:57 ` [Qemu-devel] [PULL 06/19] target-i386: turn off CPU.l3-cache only for 2.7 and older machine types Michael S. Tsirkin
2016-09-23 19:57 ` [Qemu-devel] [PULL 07/19] virtio: fix stray tab character Michael S. Tsirkin
2016-09-23 19:57 ` [Qemu-devel] [PULL 08/19] virtio: stop virtqueue processing if device is broken Michael S. Tsirkin
2016-09-23 19:57 ` [Qemu-devel] [PULL 09/19] virtio: migrate vdev->broken flag Michael S. Tsirkin
2016-09-23 19:57 ` [Qemu-devel] [PULL 10/19] virtio: handle virtqueue_map_desc() errors Michael S. Tsirkin
2016-09-23 19:57 ` [Qemu-devel] [PULL 11/19] virtio: handle virtqueue_get_avail_bytes() errors Michael S. Tsirkin
2016-09-23 19:57 ` [Qemu-devel] [PULL 12/19] virtio: use unsigned int for virtqueue_get_avail_bytes() index Michael S. Tsirkin
2016-09-23 19:57 ` [Qemu-devel] [PULL 13/19] virtio: handle virtqueue_read_next_desc() errors Michael S. Tsirkin
2016-09-23 19:57 ` [Qemu-devel] [PULL 14/19] virtio: handle virtqueue_num_heads() errors Michael S. Tsirkin
2016-09-23 19:57 ` [Qemu-devel] [PULL 15/19] virtio: handle virtqueue_get_head() errors Michael S. Tsirkin
2016-09-23 19:57 ` [Qemu-devel] [PULL 16/19] hw/pci: Prepare for AMD IOMMU Michael S. Tsirkin
2016-09-23 19:57 ` [Qemu-devel] [PULL 17/19] hw/i386/trace-events: Add AMD IOMMU trace events Michael S. Tsirkin
2016-09-23 19:57 ` [Qemu-devel] [PULL 18/19] hw/i386: Introduce AMD IOMMU Michael S. Tsirkin
2016-09-23 19:57 ` [Qemu-devel] [PULL 19/19] hw/i386: AMD IOMMU IVRS table Michael S. Tsirkin
2016-09-23 20:35 ` [Qemu-devel] [PULL 00/19] virtio, pc: fixes and features no-reply
2016-09-23 22:05   ` Michael S. Tsirkin
2016-09-23 20:35 ` no-reply
2016-09-23 22:05   ` Michael S. Tsirkin [this message]
2016-09-24 16:10     ` Paolo Bonzini
2016-09-25  0:49       ` Michael S. Tsirkin
2016-09-26  7:15         ` Paolo Bonzini

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=20160924010453-mutt-send-email-mst@kernel.org \
    --to=mst@redhat.com \
    --cc=famz@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.