From: no-reply@patchew.org
To: david@gibson.dropbear.id.au
Cc: famz@redhat.com, qemu-ppc@nongnu.org, lvivier@redhat.com,
thuth@redhat.com, mdroth@linux.vnet.ibm.com,
nikunj@linux.vnet.ibm.com, mst@redhat.com, aik@ozlabs.ru,
qemu-devel@nongnu.org, agraf@suse.de, abologna@redhat.com,
bharata@linux.vnet.ibm.com, mpolednik@redhat.com
Subject: Re: [Qemu-devel] [RFC 0/4] Improve PCI IO window orgnaization for pseries
Date: Mon, 10 Oct 2016 08:53:40 -0700 (PDT) [thread overview]
Message-ID: <20161010155333.498194.39471@ex-std-node742.prod.rhcloud.com> (raw)
In-Reply-To: <1475722987-18644-1-git-send-email-david@gibson.dropbear.id.au>
Hi,
Your series seems to have some coding style problems. See output below for
more information:
Message-id: 1475722987-18644-1-git-send-email-david@gibson.dropbear.id.au
Subject: [Qemu-devel] [RFC 0/4] Improve PCI IO window orgnaization for pseries
Type: series
=== 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
- [tag update] patchew/1475208369-13756-1-git-send-email-zhang.zhanghailiang@huawei.com -> patchew/1475208369-13756-1-git-send-email-zhang.zhanghailiang@huawei.com
- [tag update] patchew/1475219846-32609-1-git-send-email-pbonzini@redhat.com -> patchew/1475219846-32609-1-git-send-email-pbonzini@redhat.com
- [tag update] patchew/1475580648-6470-1-git-send-email-lvivier@redhat.com -> patchew/1475580648-6470-1-git-send-email-lvivier@redhat.com
- [tag update] patchew/1475617134-28180-1-git-send-email-wei@redhat.com -> patchew/1475617134-28180-1-git-send-email-wei@redhat.com
- [tag update] patchew/1475685327-22767-1-git-send-email-pbonzini@redhat.com -> patchew/1475685327-22767-1-git-send-email-pbonzini@redhat.com
* [new tag] patchew/1475722987-18644-1-git-send-email-david@gibson.dropbear.id.au -> patchew/1475722987-18644-1-git-send-email-david@gibson.dropbear.id.au
- [tag update] patchew/20161005130657.3399-1-rkrcmar@redhat.com -> patchew/20161005130657.3399-1-rkrcmar@redhat.com
- [tag update] patchew/57ea5f06.821e6b0a.4ee38.31ea@mx.google.com -> patchew/57ea5f06.821e6b0a.4ee38.31ea@mx.google.com
- [tag update] patchew/cover.bcfb6a7121f5fd92c9ebda9f199ff06cb0d4bc05.1473159543.git-series.james.hogan@imgtec.com -> patchew/cover.bcfb6a7121f5fd92c9ebda9f199ff06cb0d4bc05.1473159543.git-series.james.hogan@imgtec.com
Switched to a new branch 'test'
e147fe5 spapr: Improved placement of PCI host bridges in guest memory map
2858c98 spapr_pci: Add a 64-bit MMIO window
b5718f3 spapr: Adjust placement of PCI host bridge to allow > 1TiB RAM
10b7f69 spapr_pci: Delegate placement of PCI host bridges to machine type
=== OUTPUT BEGIN ===
Checking PATCH 1/4: spapr_pci: Delegate placement of PCI host bridges to machine type...
Checking PATCH 2/4: spapr: Adjust placement of PCI host bridge to allow > 1TiB RAM...
Checking PATCH 3/4: spapr_pci: Add a 64-bit MMIO window...
WARNING: line over 80 characters
#100: FILE: hw/ppc/spapr_pci.c:1361:
+ error_setg(errp, "64-bit memory window address not specified for PHB");
WARNING: line over 80 characters
#105: FILE: hw/ppc/spapr_pci.c:1366:
+ error_setg(errp, "32-bit memory window of size 0x%"HWADDR_PRIx" (max 2 GiB)",
WARNING: line over 80 characters
#220: FILE: include/hw/pci-host/spapr.h:85:
+#define SPAPR_PCI_MEM32_WIN_SIZE ((1ULL <<32) - SPAPR_PCI_MEM_WIN_BUS_OFFSET)
ERROR: spaces required around that '<<' (ctx:WxV)
#220: FILE: include/hw/pci-host/spapr.h:85:
+#define SPAPR_PCI_MEM32_WIN_SIZE ((1ULL <<32) - SPAPR_PCI_MEM_WIN_BUS_OFFSET)
^
total: 1 errors, 3 warnings, 166 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 4/4: spapr: Improved placement of PCI host bridges in guest memory map...
ERROR: Macros with multiple statements should be enclosed in a do - while loop
#133: FILE: hw/ppc/spapr.c:2534:
+#define SPAPR_COMPAT_2_7 \
+ HW_COMPAT_2_7 \
+ { \
+ .driver = TYPE_SPAPR_PCI_HOST_BRIDGE, \
+ .property = "mem_win_size", \
+ .value = stringify(SPAPR_PCI_2_7_MMIO_WIN_SIZE),\
+ }, \
+ { \
+ .driver = TYPE_SPAPR_PCI_HOST_BRIDGE, \
+ .property = "mem64_win_size", \
+ .value = "0", \
+ },
ERROR: trailing whitespace
#146: FILE: hw/ppc/spapr.c:2547:
+ $
total: 2 errors, 0 warnings, 175 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.
=== 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
prev parent reply other threads:[~2016-10-10 15:54 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-06 3:03 [Qemu-devel] [RFC 0/4] Improve PCI IO window orgnaization for pseries David Gibson
2016-10-06 3:03 ` [Qemu-devel] [RFC 1/4] spapr_pci: Delegate placement of PCI host bridges to machine type David Gibson
2016-10-06 7:10 ` Laurent Vivier
2016-10-06 8:11 ` David Gibson
2016-10-06 9:36 ` Laurent Vivier
2016-10-06 23:51 ` David Gibson
2016-10-07 3:57 ` Alexey Kardashevskiy
2016-10-07 5:10 ` David Gibson
2016-10-07 5:34 ` Alexey Kardashevskiy
2016-10-07 9:17 ` David Gibson
2016-10-10 1:04 ` Alexey Kardashevskiy
2016-10-10 4:07 ` David Gibson
2016-10-11 3:17 ` David Gibson
2016-10-06 3:03 ` [Qemu-devel] [RFC 2/4] spapr: Adjust placement of PCI host bridge to allow > 1TiB RAM David Gibson
2016-10-06 7:21 ` Laurent Vivier
2016-10-06 8:46 ` David Gibson
2016-10-06 9:36 ` Laurent Vivier
2016-10-06 3:03 ` [Qemu-devel] [RFC 3/4] spapr_pci: Add a 64-bit MMIO window David Gibson
2016-10-06 3:03 ` [Qemu-devel] [RFC 4/4] spapr: Improved placement of PCI host bridges in guest memory map David Gibson
2016-10-10 15:53 ` no-reply [this message]
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=20161010155333.498194.39471@ex-std-node742.prod.rhcloud.com \
--to=no-reply@patchew.org \
--cc=abologna@redhat.com \
--cc=agraf@suse.de \
--cc=aik@ozlabs.ru \
--cc=bharata@linux.vnet.ibm.com \
--cc=david@gibson.dropbear.id.au \
--cc=famz@redhat.com \
--cc=lvivier@redhat.com \
--cc=mdroth@linux.vnet.ibm.com \
--cc=mpolednik@redhat.com \
--cc=mst@redhat.com \
--cc=nikunj@linux.vnet.ibm.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
--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).