From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49796) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjz4R-00075W-Ft for qemu-devel@nongnu.org; Tue, 13 Sep 2016 21:33:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bjz4M-0006sL-ID for qemu-devel@nongnu.org; Tue, 13 Sep 2016 21:33:02 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35194) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjz4M-0006sG-Ce for qemu-devel@nongnu.org; Tue, 13 Sep 2016 21:32:58 -0400 Date: Wed, 14 Sep 2016 04:32:57 +0300 From: "Michael S. Tsirkin" Message-ID: <20160914043236-mutt-send-email-mst@kernel.org> References: <1473798735-6290-1-git-send-email-mst@redhat.com> <20160913212756.19907.35881@ex-std-node742.prod.rhcloud.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160913212756.19907.35881@ex-std-node742.prod.rhcloud.com> Subject: Re: [Qemu-devel] [PULL 0/5] virtio,pci: fixes and updates List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: famz@redhat.com, peter.maydell@linaro.org On Tue, Sep 13, 2016 at 02:27:59PM -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: 1473798735-6290-1-git-send-email-mst@redhat.com > Subject: [Qemu-devel] [PULL 0/5] virtio,pci: fixes and updates > > === 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 > From https://github.com/patchew-project/qemu > * [new tag] patchew/1473798735-6290-1-git-send-email-mst@redhat.com -> patchew/1473798735-6290-1-git-send-email-mst@redhat.com > Switched to a new branch 'test' > e7a4ce2 hw/i386: AMD IOMMU IVRS table > 69dfd17 hw/i386: Introduce AMD IOMMU > 577db28 hw/i386/trace-events: Add AMD IOMMU trace events > da2c51f hw/pci: Prepare for AMD IOMMU > c64cb29 virtio-bus: Plug devices after features are negotiated > > === OUTPUT BEGIN === > Checking PATCH 1/5: virtio-bus: Plug devices after features are negotiated... > Checking PATCH 2/5: hw/pci: Prepare for AMD IOMMU... > Checking PATCH 3/5: hw/i386/trace-events: Add AMD IOMMU trace events... > Checking PATCH 4/5: hw/i386: Introduce AMD IOMMU... > ERROR: struct MemoryRegionIOMMUOps should normally be const > #1707: FILE: hw/i386/amd_iommu.h:280: > + MemoryRegionIOMMUOps iommu_ops; I think this is bogus: don't see how a struct field can be const here. > total: 1 errors, 0 warnings, 1677 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 5/5: 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