All of lore.kernel.org
 help / color / mirror / Atom feed
From: no-reply@patchew.org
To: richard.henderson@linaro.org
Cc: famz@redhat.com, qemu-devel@nongnu.org, peter.maydell@linaro.org
Subject: Re: [Qemu-devel] [PULL 0/3] decodetree improvements
Date: Thu, 1 Nov 2018 23:21:25 -0700 (PDT)	[thread overview]
Message-ID: <154113968460.17212.6561930232223120375@015909e0f939> (raw)
In-Reply-To: <20181031165321.4422-1-richard.henderson@linaro.org>

Hi,

This series seems to have some coding style problems. See output below for
more information:

Type: series
Message-id: 20181031165321.4422-1-richard.henderson@linaro.org
Subject: [Qemu-devel] [PULL 0/3] decodetree improvements

=== 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
git config --local diff.algorithm histogram

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'
cb5d408f30 decodetree: Allow multiple input files
68998e1b57 decodetree: Remove "insn" argument from trans_* expanders
572d4f99b8 decodetree: Add !extern flag to argument sets

=== OUTPUT BEGIN ===
Checking PATCH 1/3: decodetree: Add !extern flag to argument sets...
Checking PATCH 2/3: decodetree: Remove "insn" argument from trans_* expanders...
ERROR: spaces required around that '*' (ctx:WxV)
#122: FILE: target/arm/translate-sve.c:372:
+static bool trans_##NAME##_zpzz(DisasContext *s, arg_rprr_esz *a)         \
                                                               ^

ERROR: spaces required around that '*' (ctx:WxV)
#131: FILE: target/arm/translate-sve.c:404:
+static bool trans_SDIV_zpzz(DisasContext *s, arg_rprr_esz *a)
                                                           ^

ERROR: spaces required around that '*' (ctx:WxV)
#158: FILE: target/arm/translate-sve.c:450:
+static bool trans_##NAME(DisasContext *s, arg_rpr_esz *a)           \
                                                       ^

ERROR: spaces required around that '*' (ctx:WxV)
#167: FILE: target/arm/translate-sve.c:467:
+static bool trans_FABS(DisasContext *s, arg_rpr_esz *a)
                                                     ^

ERROR: spaces required around that '*' (ctx:WxV)
#331: FILE: target/arm/translate-sve.c:851:
+static bool trans_##NAME(DisasContext *s, arg_rprrr_esz *a)          \
                                                         ^

ERROR: spaces required around that '*' (ctx:WxV)
#1442: FILE: target/arm/translate-sve.c:3981:
+static bool trans_##NAME(DisasContext *s, arg_rprrr_esz *a)          \
                                                         ^

ERROR: spaces required around that '*' (ctx:WxV)
#1950: FILE: target/openrisc/disas.c:55:
+static bool trans_l_##opcode(disassemble_info *info, arg_l_##opcode *a) \
                                               ^

ERROR: spaces required around that '*' (ctx:WxV)
#1950: FILE: target/openrisc/disas.c:55:
+static bool trans_l_##opcode(disassemble_info *info, arg_l_##opcode *a) \
                                                                     ^

ERROR: spaces required around that '*' (ctx:WxV)
#1968: FILE: target/openrisc/disas.c:149:
+static bool trans_lf_##opcode##_##suffix(disassemble_info *info,        \
                                                           ^

ERROR: spaces required around that '*' (ctx:WxV)
#1969: FILE: target/openrisc/disas.c:150:
+                                         arg_lf_##opcode##_##suffix *a) \
                                                                     ^

total: 10 errors, 0 warnings, 2539 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 3/3: decodetree: Allow multiple input files...
=== OUTPUT END ===

Test command exited with code: 1


---
Email generated automatically by Patchew [http://patchew.org/].
Please send your feedback to patchew-devel@redhat.com

  parent reply	other threads:[~2018-11-02  6:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-31 16:53 [Qemu-devel] [PULL 0/3] decodetree improvements Richard Henderson
2018-10-31 16:53 ` [Qemu-devel] [PULL 1/3] decodetree: Add !extern flag to argument sets Richard Henderson
2018-10-31 16:53 ` [Qemu-devel] [PULL 2/3] decodetree: Remove "insn" argument from trans_* expanders Richard Henderson
2018-10-31 16:53 ` [Qemu-devel] [PULL 3/3] decodetree: Allow multiple input files Richard Henderson
2018-11-02  6:21 ` no-reply [this message]
2018-11-02  9:49 ` [Qemu-devel] [PULL 0/3] decodetree improvements Peter Maydell
2019-08-19 15:17 Richard Henderson
2019-08-20  9:19 ` 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=154113968460.17212.6561930232223120375@015909e0f939 \
    --to=no-reply@patchew.org \
    --cc=famz@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.