On Thu, Oct 13, 2016 at 09:10:38PM -0700, no-re...@patchew.org wrote: > Hi, > > Your series seems to have some coding style problems. See output below for > more information:
So.. this one is a fairly standard false positive. checkpatch complains about multiple statements in a macro when it's actually a macro that's supposed to expand within a data structure initializer. > Type: series > Message-id: 1476316647-9433-1-git-send-email-da...@gibson.dropbear.id.au > Subject: [Qemu-devel] [PATCHv3 0/7] Improve PCI IO window orgnaization for > pseries > > === 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' > 8fa0718 spapr: Improved placement of PCI host bridges in guest memory map > 6416268 spapr_pci: Add a 64-bit MMIO window > 94e8f4c spapr: Adjust placement of PCI host bridge to allow > 1TiB RAM > 692718a spapr_pci: Delegate placement of PCI host bridges to machine type > 2b765c9 libqos: Limit spapr-pci to 32-bit MMIO for now > 4543692 libqos: Correct error in PCI hole sizing for spapr > 2c35727 libqos: Isolate knowledge of spapr memory map to qpci_init_spapr() > > === OUTPUT BEGIN === > Checking PATCH 1/7: libqos: Isolate knowledge of spapr memory map to > qpci_init_spapr()... > Checking PATCH 2/7: libqos: Correct error in PCI hole sizing for spapr... > Checking PATCH 3/7: libqos: Limit spapr-pci to 32-bit MMIO for now... > Checking PATCH 4/7: spapr_pci: Delegate placement of PCI host bridges to > machine type... > Checking PATCH 5/7: spapr: Adjust placement of PCI host bridge to allow > > 1TiB RAM... > Checking PATCH 6/7: spapr_pci: Add a 64-bit MMIO window... > ERROR: trailing whitespace > #237: FILE: include/hw/ppc/spapr.h:44: > + uint64_t *buid, hwaddr *pio, $ > > total: 1 errors, 0 warnings, 170 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. In attempting to follow the suggestion above, I discovered that checkpatch has no listed maintainer. Maybe we should change that message to "if any of these errors are false positives, then too bad, suck it up"... -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson
signature.asc
Description: PGP signature