All of lore.kernel.org
 help / color / mirror / Atom feed
From: no-reply@patchew.org
To: james.cowgill@mips.com
Cc: famz@redhat.com, qemu-devel@nongnu.org, riku.voipio@iki.fi,
	laurent@vivier.eu
Subject: Re: [Qemu-devel] [PATCH] linux-user: implement HWCAP bits on MIPS
Date: Wed, 14 Mar 2018 08:38:29 -0700 (PDT)	[thread overview]
Message-ID: <152104190857.51.3339183123690408321@71c20359a636> (raw)
In-Reply-To: <20180314153121.23838-1-james.cowgill@mips.com>

Hi,

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

Type: series
Message-id: 20180314153121.23838-1-james.cowgill@mips.com
Subject: [Qemu-devel] [PATCH] linux-user: implement HWCAP bits on MIPS

=== 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
From https://github.com/patchew-project/qemu
 * [new tag]               patchew/20180314153121.23838-1-james.cowgill@mips.com -> patchew/20180314153121.23838-1-james.cowgill@mips.com
Switched to a new branch 'test'
4b00115726 linux-user: implement HWCAP bits on MIPS

=== OUTPUT BEGIN ===
Checking PATCH 1/1: linux-user: implement HWCAP bits on MIPS...
ERROR: braces {} are necessary for all arms of this statement
#35: FILE: linux-user/elfload.c:967:
+    do { if (cpu->env.insn_flags & (flag)) { hwcaps |= hwcap; } } while (0)
[...]

total: 1 errors, 0 warnings, 30 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

  reply	other threads:[~2018-03-14 15:39 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-14 15:31 [Qemu-devel] [PATCH] linux-user: implement HWCAP bits on MIPS James Cowgill
2018-03-14 15:38 ` no-reply [this message]
2018-03-14 16:13 ` Laurent Vivier
2018-03-15 10:52   ` James Cowgill
2018-03-15 13:00     ` Laurent Vivier
2018-03-15 14:19       ` James Cowgill
2018-03-15 14:35         ` Laurent Vivier
2018-03-15 15:13 ` [Qemu-devel] [PATCH v2] " James Cowgill
2018-03-15 15:19   ` no-reply
2018-03-15 15:25   ` Laurent Vivier
2018-04-10 13:53     ` Peter Maydell
2018-04-10 15:34       ` Laurent Vivier
  -- strict thread matches above, loose matches on Subject: below --
2018-03-14 14:20 [Qemu-devel] [PATCH] " James Cowgill
2018-03-14 15:32 ` no-reply

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=152104190857.51.3339183123690408321@71c20359a636 \
    --to=no-reply@patchew.org \
    --cc=famz@redhat.com \
    --cc=james.cowgill@mips.com \
    --cc=laurent@vivier.eu \
    --cc=qemu-devel@nongnu.org \
    --cc=riku.voipio@iki.fi \
    /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.