From: no-reply@patchew.org
To: rth@twiddle.net
Cc: famz@redhat.com, qemu-devel@nongnu.org, pbonzini@redhat.com,
qemu-arm@nongnu.org, vijay.kilari@gmail.com,
peter.maydell@linaro.org
Subject: Re: [Qemu-devel] [PATCH 0/7] Improve buffer_is_zero
Date: Tue, 23 Aug 2016 21:30:58 -0700 (PDT) [thread overview]
Message-ID: <20160824043048.109542.39014@ex-std-node742.prod.rhcloud.com> (raw)
In-Reply-To: <1472012279-20581-1-git-send-email-rth@twiddle.net>
Hi,
Your series seems to have some coding style problems. See output below for
more information:
Message-id: 1472012279-20581-1-git-send-email-rth@twiddle.net
Subject: [Qemu-devel] [PATCH 0/7] Improve buffer_is_zero
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
* [new tag] patchew/1472012279-20581-1-git-send-email-rth@twiddle.net -> patchew/1472012279-20581-1-git-send-email-rth@twiddle.net
Switched to a new branch 'test'
12a04a4 cutils: Rewrite ppc buffer zero checking
2841895 cutils: Rewrite aarch64 buffer zero checking
00cb541 cutils: Rewrite x86 buffer zero checking
457e08e cutils: Add generic prefetch
4063093 cutils: Rearrange buffer_is_zero acceleration
514f601 cutils: Export only buffer_is_zero
aabd7b2 cutils: Remove SPLAT macro
=== OUTPUT BEGIN ===
Checking PATCH 1/7: cutils: Remove SPLAT macro...
Checking PATCH 2/7: cutils: Export only buffer_is_zero...
Checking PATCH 3/7: cutils: Rearrange buffer_is_zero acceleration...
ERROR: externs should be avoided in .c files
#124: FILE: util/cutils.c:166:
+extern void link_error(void);
ERROR: spaces required around that '*' (ctx:VxV)
#218: FILE: util/cutils.c:229:
+ACCEL_BUFFER_ZERO(buffer_zero_int, 4*sizeof(long), long, IDENT_ZERO)
^
ERROR: architecture specific defines should be avoided
#238: FILE: util/cutils.c:243:
+#ifdef __ALTIVEC__
ERROR: space required before the open brace '{'
#250: FILE: util/cutils.c:255:
+#define DO_ZERO(X) vec_all_eq(X, (__vector unsigned char){ 0 })
total: 4 errors, 0 warnings, 446 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/7: cutils: Add generic prefetch...
Checking PATCH 5/7: cutils: Rewrite x86 buffer zero checking...
ERROR: Use of volatile is usually wrong: see Documentation/volatile-considered-harmful.txt
#44: FILE: util/cutils.c:289:
+ __asm volatile("vmovdqu -0x80(%1),%0\n\t"
ERROR: externs should be avoided in .c files
#44: FILE: util/cutils.c:289:
+ __asm volatile("vmovdqu -0x80(%1),%0\n\t"
ERROR: Use of volatile is usually wrong: see Documentation/volatile-considered-harmful.txt
#72: FILE: util/cutils.c:317:
+ __asm volatile("vmovdqu -0x40(%1),%0\n\t"
ERROR: externs should be avoided in .c files
#72: FILE: util/cutils.c:317:
+ __asm volatile("vmovdqu -0x40(%1),%0\n\t"
ERROR: Use of volatile is usually wrong: see Documentation/volatile-considered-harmful.txt
#98: FILE: util/cutils.c:343:
+ __asm volatile("movdqu -0x40(%4),%0\n\t"
ERROR: externs should be avoided in .c files
#98: FILE: util/cutils.c:343:
+ __asm volatile("movdqu -0x40(%4),%0\n\t"
ERROR: Use of volatile is usually wrong: see Documentation/volatile-considered-harmful.txt
#132: FILE: util/cutils.c:374:
+ __asm volatile("movdqu -0x40(%4),%0\n\t"
ERROR: externs should be avoided in .c files
#132: FILE: util/cutils.c:374:
+ __asm volatile("movdqu -0x40(%4),%0\n\t"
ERROR: architecture specific defines should be avoided
#166: FILE: util/cutils.c:439:
+#ifdef __AVX2__
ERROR: architecture specific defines should be avoided
#169: FILE: util/cutils.c:442:
+#ifdef __AVX__
ERROR: architecture specific defines should be avoided
#172: FILE: util/cutils.c:445:
+#ifdef __SSE4_1__
ERROR: architecture specific defines should be avoided
#175: FILE: util/cutils.c:448:
+#ifdef __SSE2__
total: 12 errors, 0 warnings, 198 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/7: cutils: Rewrite aarch64 buffer zero checking...
Checking PATCH 7/7: cutils: Rewrite ppc buffer zero checking...
ERROR: Use of volatile is usually wrong: see Documentation/volatile-considered-harmful.txt
#37: FILE: util/cutils.c:270:
+ __asm volatile("lvebx %0,%4,%5\n\t"
ERROR: externs should be avoided in .c files
#37: FILE: util/cutils.c:270:
+ __asm volatile("lvebx %0,%4,%5\n\t"
total: 2 errors, 0 warnings, 47 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
next prev parent reply other threads:[~2016-08-24 4:31 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-24 4:17 [Qemu-devel] [PATCH 0/7] Improve buffer_is_zero Richard Henderson
2016-08-24 4:17 ` [Qemu-devel] [PATCH 1/7] cutils: Remove SPLAT macro Richard Henderson
2016-08-24 4:17 ` [Qemu-devel] [PATCH 2/7] cutils: Export only buffer_is_zero Richard Henderson
2016-08-24 8:37 ` Dr. David Alan Gilbert
2016-08-24 4:17 ` [Qemu-devel] [PATCH 3/7] cutils: Rearrange buffer_is_zero acceleration Richard Henderson
2016-08-24 4:17 ` [Qemu-devel] [PATCH 4/7] cutils: Add generic prefetch Richard Henderson
2016-08-24 4:17 ` [Qemu-devel] [PATCH 5/7] cutils: Rewrite x86 buffer zero checking Richard Henderson
2016-08-24 4:17 ` [Qemu-devel] [PATCH 6/7] cutils: Rewrite aarch64 " Richard Henderson
2016-08-24 4:17 ` [Qemu-devel] [PATCH 7/7] cutils: Rewrite ppc " Richard Henderson
2016-08-24 4:30 ` no-reply [this message]
2016-08-24 4:38 ` [Qemu-devel] [PATCH 0/7] Improve buffer_is_zero Paolo Bonzini
2016-08-24 14:53 ` Richard Henderson
2016-08-24 14:59 ` Paolo Bonzini
2016-08-24 8:34 ` Dr. David Alan Gilbert
2016-08-24 10:26 ` Adam Richter
2016-08-24 10:52 ` Peter Maydell
2016-08-24 11:45 ` Paolo Bonzini
2016-08-24 12:22 ` Peter Maydell
2016-08-25 6:37 ` Vijay Kilari
2016-08-25 8:04 ` Vijay Kilari
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=20160824043048.109542.39014@ex-std-node742.prod.rhcloud.com \
--to=no-reply@patchew.org \
--cc=famz@redhat.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=rth@twiddle.net \
--cc=vijay.kilari@gmail.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).