[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [Qemu-devel] [PATCH v3 0/6] tests: enable ohci/uhci/xhci
From: |
no-reply |
Subject: |
Re: [Qemu-ppc] [Qemu-devel] [PATCH v3 0/6] tests: enable ohci/uhci/xhci tests on PPC64 |
Date: |
Wed, 28 Sep 2016 12:24:00 -0700 (PDT) |
Hi,
Your series seems to have some coding style problems. See output below for
more information:
Type: series
Message-id: address@hidden
Subject: [Qemu-devel] [PATCH v3 0/6] tests: enable ohci/uhci/xhci tests on PPC64
=== 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/address@hidden -> patchew/address@hidden
Switched to a new branch 'test'
16102fa tests: enable ohci/uhci/xhci tests on PPC64
5401f55 qtest: define target cpu endianness conversion functions
d59bad7 qtest: evaluate endianness of the target in qtest_init()
6c93deb libqos: use generic qtest_shutdown()
6f269e3 libqos: add PCI management in qtest_vboot()/qtest_shutdown()
0f72509 libqos: add PPC64 PCI support
=== OUTPUT BEGIN ===
Checking PATCH 1/6: libqos: add PPC64 PCI support...
Checking PATCH 2/6: libqos: add PCI management in
qtest_vboot()/qtest_shutdown()...
Checking PATCH 3/6: libqos: use generic qtest_shutdown()...
Checking PATCH 4/6: qtest: evaluate endianness of the target in qtest_init()...
Checking PATCH 5/6: qtest: define target cpu endianness conversion functions...
ERROR: Macros with multiple statements should be enclosed in a do - while loop
#58: FILE: tests/libqtest.h:928:
+#define TARGET_CPU_CONVERT(endian, size, type)\
+static inline type target_ ## endian ## size ## _to_cpu(type v)\
+{\
+ return glue(endian, _bswap)(global_qtest, v, size);\
+} \
+\
+static inline type target_cpu_to_ ## endian ## size(type v)\
+{\
+ return glue(endian, _bswap)(global_qtest, v, size);\
+}
total: 1 errors, 0 warnings, 69 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 6/6: tests: enable ohci/uhci/xhci tests on PPC64...
=== OUTPUT END ===
Test command exited with code: 1
---
Email generated automatically by Patchew [http://patchew.org/].
Please send your feedback to address@hidden
- Re: [Qemu-ppc] [PATCH v3 1/6] libqos: add PPC64 PCI support, (continued)
- [Qemu-ppc] [PATCH v3 2/6] libqos: add PCI management in qtest_vboot()/qtest_shutdown(), Laurent Vivier, 2016/09/28
- [Qemu-ppc] [PATCH v3 5/6] qtest: define target cpu endianness conversion functions, Laurent Vivier, 2016/09/28
- [Qemu-ppc] [PATCH v3 3/6] libqos: use generic qtest_shutdown(), Laurent Vivier, 2016/09/28
- [Qemu-ppc] [PATCH v3 6/6] tests: enable ohci/uhci/xhci tests on PPC64, Laurent Vivier, 2016/09/28
- [Qemu-ppc] [PATCH v3 4/6] qtest: evaluate endianness of the target in qtest_init(), Laurent Vivier, 2016/09/28
- Re: [Qemu-ppc] [Qemu-devel] [PATCH v3 0/6] tests: enable ohci/uhci/xhci tests on PPC64,
no-reply <=
- Re: [Qemu-ppc] [PATCH v3 0/6] tests: enable ohci/uhci/xhci tests on PPC64, David Gibson, 2016/09/29