From: David Gibson <david@gibson.dropbear.id.au>
To: qemu-devel@nongnu.org
Cc: famz@redhat.com, peter.maydell@linaro.org, aik@ozlabs.ru,
gkurz@kaod.org, agraf@suse.de, qemu-ppc@nongnu.org
Subject: Re: [Qemu-devel] [PULL 00/18] ppc-for-2.11 queue 20170915
Date: Fri, 15 Sep 2017 15:00:13 +1000 [thread overview]
Message-ID: <20170915050013.GD5250@umbus.fritz.box> (raw)
In-Reply-To: <150544960865.36.15903779803721853515@69b6ddf88678>
[-- Attachment #1: Type: text/plain, Size: 3973 bytes --]
On Thu, Sep 14, 2017 at 09:26:49PM -0700, no-reply@patchew.org wrote:
> Hi,
>
> This series seems to have some coding style problems. See output below for
> more information:
>
> Subject: [Qemu-devel] [PULL 00/18] ppc-for-2.11 queue 20170915
> Message-id: 20170915035130.8354-1-david@gibson.dropbear.id.au
> Type: series
>
> === TEST SCRIPT BEGIN ===
> #!/bin/bash
>
> BASE=base
> n=1
> total=$(git log --oneline $BASE.. | wc -l)
> failed=0
>
> 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 log -n 1 --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'
> 872afb4d17 ppc/kvm: use kvm_vm_check_extension() in kvmppc_is_pr()
> 7a25c28fcc spapr_events: use QTAILQ_FOREACH_SAFE() in spapr_clear_pending_events()
> 925177495a spapr_cpu_core: cleaning up qdev_get_machine() calls
> e0a96b5c4d spapr_pci: don't create 64-bit MMIO window if we don't need to
> 1851b264d5 spapr_pci: convert sprintf() to g_strdup_printf()
> e62bfeb753 spapr_cpu_core: fail gracefully with non-pseries machine types
> d68c815c09 xics: fix several error leaks
> 165724544b vfio, spapr: Fix levels calculation
> e0d3f60741 spapr_pci: handle FDT creation errors with _FDT()
> 9d82d580aa spapr_pci: use the common _FDT() helper
> fe74e07d9f spapr: fix CAS-generated reset
> 53b3f63411 ppc/xive: fix OV5_XIVE_EXPLOIT bits
> 48ced9b1af spapr: only update SDR1 once per-cpu during CAS
> 868444ad8c spapr_pci: use g_strdup_printf()
> dbfa7f0124 spapr_pci: drop useless check in spapr_populate_pci_child_dt()
> 2d5463163b spapr_pci: drop useless check in spapr_phb_vfio_get_loc_code()
> 0d760c3eed hw/ppc/spapr.c: cleaning up qdev_get_machine() calls
> 2add13654e net: Add SunGEM device emulation as found on Apple UniNorth
>
> === OUTPUT BEGIN ===
> Checking PATCH 1/18: net: Add SunGEM device emulation as found on Apple UniNorth...
> Checking PATCH 2/18: hw/ppc/spapr.c: cleaning up qdev_get_machine() calls...
> Checking PATCH 3/18: spapr_pci: drop useless check in spapr_phb_vfio_get_loc_code()...
> Checking PATCH 4/18: spapr_pci: drop useless check in spapr_populate_pci_child_dt()...
> Checking PATCH 5/18: spapr_pci: use g_strdup_printf()...
> Checking PATCH 6/18: spapr: only update SDR1 once per-cpu during CAS...
> Checking PATCH 7/18: ppc/xive: fix OV5_XIVE_EXPLOIT bits...
> Checking PATCH 8/18: spapr: fix CAS-generated reset...
> Checking PATCH 9/18: spapr_pci: use the common _FDT() helper...
> Checking PATCH 10/18: spapr_pci: handle FDT creation errors with _FDT()...
> Checking PATCH 11/18: vfio, spapr: Fix levels calculation...
> Checking PATCH 12/18: xics: fix several error leaks...
> Checking PATCH 13/18: spapr_cpu_core: fail gracefully with non-pseries machine types...
> Checking PATCH 14/18: spapr_pci: convert sprintf() to g_strdup_printf()...
> Checking PATCH 15/18: spapr_pci: don't create 64-bit MMIO window if we don't need to...
> ERROR: spaces required around that '-' (ctx:VxV)
> #55: FILE: hw/ppc/spapr_pci.c:1625:
> + if (sphb->mem64_win_pciaddr != (hwaddr)-1) {
> ^
>
> ERROR: spaces required around that '-' (ctx:VxV)
> #62: FILE: hw/ppc/spapr_pci.c:1632:
> + if (sphb->mem64_win_addr != (hwaddr)-1) {
> ^
>
These are false positives, a patch for checkpatch.pl is in the works.
--
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2017-09-15 5:13 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-15 3:51 [Qemu-devel] [PULL 00/18] ppc-for-2.11 queue 20170915 David Gibson
2017-09-15 3:51 ` [Qemu-devel] [PULL 01/18] net: Add SunGEM device emulation as found on Apple UniNorth David Gibson
2017-09-15 3:51 ` [Qemu-devel] [PULL 02/18] hw/ppc/spapr.c: cleaning up qdev_get_machine() calls David Gibson
2017-09-15 3:51 ` [Qemu-devel] [PULL 03/18] spapr_pci: drop useless check in spapr_phb_vfio_get_loc_code() David Gibson
2017-09-15 3:51 ` [Qemu-devel] [PULL 04/18] spapr_pci: drop useless check in spapr_populate_pci_child_dt() David Gibson
2017-09-15 3:51 ` [Qemu-devel] [PULL 05/18] spapr_pci: use g_strdup_printf() David Gibson
2017-09-15 3:51 ` [Qemu-devel] [PULL 06/18] spapr: only update SDR1 once per-cpu during CAS David Gibson
2017-09-15 3:51 ` [Qemu-devel] [PULL 07/18] ppc/xive: fix OV5_XIVE_EXPLOIT bits David Gibson
2017-09-15 3:51 ` [Qemu-devel] [PULL 08/18] spapr: fix CAS-generated reset David Gibson
2017-09-15 3:51 ` [Qemu-devel] [PULL 09/18] spapr_pci: use the common _FDT() helper David Gibson
2017-09-15 3:51 ` [Qemu-devel] [PULL 10/18] spapr_pci: handle FDT creation errors with _FDT() David Gibson
2017-09-15 3:51 ` [Qemu-devel] [PULL 11/18] vfio, spapr: Fix levels calculation David Gibson
2017-09-15 3:51 ` [Qemu-devel] [PULL 12/18] xics: fix several error leaks David Gibson
2017-09-15 3:51 ` [Qemu-devel] [PULL 13/18] spapr_cpu_core: fail gracefully with non-pseries machine types David Gibson
2017-09-15 3:51 ` [Qemu-devel] [PULL 14/18] spapr_pci: convert sprintf() to g_strdup_printf() David Gibson
2017-09-15 3:51 ` [Qemu-devel] [PULL 15/18] spapr_pci: don't create 64-bit MMIO window if we don't need to David Gibson
2017-09-15 3:51 ` [Qemu-devel] [PULL 16/18] spapr_cpu_core: cleaning up qdev_get_machine() calls David Gibson
2017-09-15 3:51 ` [Qemu-devel] [PULL 17/18] spapr_events: use QTAILQ_FOREACH_SAFE() in spapr_clear_pending_events() David Gibson
2017-09-15 3:51 ` [Qemu-devel] [PULL 18/18] ppc/kvm: use kvm_vm_check_extension() in kvmppc_is_pr() David Gibson
2017-09-15 4:26 ` [Qemu-devel] [PULL 00/18] ppc-for-2.11 queue 20170915 no-reply
2017-09-15 5:00 ` David Gibson [this message]
2017-09-15 19:28 ` Peter Maydell
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=20170915050013.GD5250@umbus.fritz.box \
--to=david@gibson.dropbear.id.au \
--cc=agraf@suse.de \
--cc=aik@ozlabs.ru \
--cc=famz@redhat.com \
--cc=gkurz@kaod.org \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@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 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).