[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [Qemu-devel] [PULL 00/16] ppc-for-2.8 queue 20161017
From: |
no-reply |
Subject: |
Re: [Qemu-ppc] [Qemu-devel] [PULL 00/16] ppc-for-2.8 queue 20161017 |
Date: |
Sun, 16 Oct 2016 20:16:46 -0700 (PDT) |
Hi,
Your series seems to have some coding style problems. See output below for
more information:
Subject: [Qemu-devel] [PULL 00/16] ppc-for-2.8 queue 20161017
Type: series
Message-id: address@hidden
=== 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'
aefdf38 spapr: Improved placement of PCI host bridges in guest memory map
3dfa5b2 spapr_pci: Add a 64-bit MMIO window
bfc637b spapr: Adjust placement of PCI host bridge to allow > 1TiB RAM
e7457d3 spapr_pci: Delegate placement of PCI host bridges to machine type
2598f30 libqos: Limit spapr-pci to 32-bit MMIO for now
49bf88f libqos: Correct error in PCI hole sizing for spapr
7ff1481 libqos: Isolate knowledge of spapr memory map to qpci_init_spapr()
dfee107 ppc/xics: Split ICS into ics-base and ics class
87bd979 ppc/xics: Make the ICSState a list
0068b41 spapr: fix inheritance chain for default machine options
8075496 target-ppc: implement vexts[bh]2w and vexts[bhw]2d
c8aeb3f tests/boot-sector: Increase time-out to 90 seconds
67bc2e5 tests/boot-sector: Use mkstemp() to create a unique file name
c3e6be1 tests/boot-sector: Use minimum length for the Forth boot script
d45743f qtest: ask endianness of the target in qtest_init()
fe0631e tests: minor cleanups in usb-hcd-uhci-test
=== OUTPUT BEGIN ===
Checking PATCH 1/16: tests: minor cleanups in usb-hcd-uhci-test...
Checking PATCH 2/16: qtest: ask endianness of the target in qtest_init()...
Checking PATCH 3/16: tests/boot-sector: Use minimum length for the Forth boot
script...
Checking PATCH 4/16: tests/boot-sector: Use mkstemp() to create a unique file
name...
Checking PATCH 5/16: tests/boot-sector: Increase time-out to 90 seconds...
Checking PATCH 6/16: target-ppc: implement vexts[bh]2w and vexts[bhw]2d...
Checking PATCH 7/16: spapr: fix inheritance chain for default machine options...
Checking PATCH 8/16: ppc/xics: Make the ICSState a list...
Checking PATCH 9/16: ppc/xics: Split ICS into ics-base and ics class...
Checking PATCH 10/16: libqos: Isolate knowledge of spapr memory map to
qpci_init_spapr()...
Checking PATCH 11/16: libqos: Correct error in PCI hole sizing for spapr...
Checking PATCH 12/16: libqos: Limit spapr-pci to 32-bit MMIO for now...
Checking PATCH 13/16: spapr_pci: Delegate placement of PCI host bridges to
machine type...
Checking PATCH 14/16: spapr: Adjust placement of PCI host bridge to allow >
1TiB RAM...
Checking PATCH 15/16: 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.
Checking PATCH 16/16: spapr: Improved placement of PCI host bridges in guest
memory map...
WARNING: line over 80 characters
#99: FILE: hw/ppc/spapr.c:2401:
+ QEMU_BUILD_BUG_ON((SPAPR_PCI_MEM64_WIN_SIZE % SPAPR_PCI_MEM32_WIN_SIZE) !=
0);
WARNING: line over 80 characters
#102: FILE: hw/ppc/spapr.c:2404:
+ QEMU_BUILD_BUG_ON((max_phbs * SPAPR_PCI_IO_WIN_SIZE) >
SPAPR_PCI_MEM32_WIN_SIZE);
WARNING: line over 80 characters
#103: FILE: hw/ppc/spapr.c:2405:
+ QEMU_BUILD_BUG_ON((max_phbs * SPAPR_PCI_MEM32_WIN_SIZE) >
SPAPR_PCI_MEM64_WIN_SIZE);
ERROR: Macros with multiple statements should be enclosed in a do - while loop
#137: FILE: hw/ppc/spapr.c:2524:
+#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", \
+ },
total: 1 errors, 3 warnings, 221 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 address@hidden
- [Qemu-ppc] [PULL 02/16] qtest: ask endianness of the target in qtest_init(), (continued)
- [Qemu-ppc] [PULL 02/16] qtest: ask endianness of the target in qtest_init(), David Gibson, 2016/10/16
- [Qemu-ppc] [PULL 06/16] target-ppc: implement vexts[bh]2w and vexts[bhw]2d, David Gibson, 2016/10/16
- [Qemu-ppc] [PULL 12/16] libqos: Limit spapr-pci to 32-bit MMIO for now, David Gibson, 2016/10/16
- [Qemu-ppc] [PULL 13/16] spapr_pci: Delegate placement of PCI host bridges to machine type, David Gibson, 2016/10/16
- [Qemu-ppc] [PULL 04/16] tests/boot-sector: Use mkstemp() to create a unique file name, David Gibson, 2016/10/16
- [Qemu-ppc] [PULL 10/16] libqos: Isolate knowledge of spapr memory map to qpci_init_spapr(), David Gibson, 2016/10/16
- [Qemu-ppc] [PULL 15/16] spapr_pci: Add a 64-bit MMIO window, David Gibson, 2016/10/16
- [Qemu-ppc] [PULL 16/16] spapr: Improved placement of PCI host bridges in guest memory map, David Gibson, 2016/10/16
- [Qemu-ppc] [PULL 09/16] ppc/xics: Split ICS into ics-base and ics class, David Gibson, 2016/10/16
- [Qemu-ppc] [PULL 08/16] ppc/xics: Make the ICSState a list, David Gibson, 2016/10/16
- Re: [Qemu-ppc] [Qemu-devel] [PULL 00/16] ppc-for-2.8 queue 20161017,
no-reply <=
- Re: [Qemu-ppc] [PULL 00/16] ppc-for-2.8 queue 20161017, Peter Maydell, 2016/10/17