qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: no-reply@patchew.org
To: lvivier@redhat.com
Cc: famz@redhat.com, qemu-devel@nongnu.org, thuth@redhat.com,
	groug@kaod.org, qemu-ppc@nongnu.org, kraxel@redhat.com,
	dgibson@redhat.com
Subject: Re: [Qemu-devel] [PATCH v2 0/6] tests: enable ohci/uhci/xhci tests on PPC64
Date: Tue, 27 Sep 2016 12:23:21 -0700 (PDT)	[thread overview]
Message-ID: <20160927192318.227109.83619@ex-std-node742.prod.rhcloud.com> (raw)
In-Reply-To: <1475002559-392-1-git-send-email-lvivier@redhat.com>

Hi,

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

Type: series
Message-id: 1475002559-392-1-git-send-email-lvivier@redhat.com
Subject: [Qemu-devel] [PATCH v2 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/1475002559-392-1-git-send-email-lvivier@redhat.com -> patchew/1475002559-392-1-git-send-email-lvivier@redhat.com
Switched to a new branch 'test'
0fd7274 tests: enable ohci/uhci/xhci tests on PPC64
0ee0891 qtest: define target cpu endianness conversion function
653d63f qtest: evaluate endianness of the target in qtest_init()
7c19b42 libqos: use generic qtest_shutdown()
8d4d411 libqos: add PCI management in qtest_vboot()/qtest_shutdown()
7f1933a 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 function...
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 patchew-devel@freelists.org

      parent reply	other threads:[~2016-09-27 19:23 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-27 18:55 [Qemu-devel] [PATCH v2 0/6] tests: enable ohci/uhci/xhci tests on PPC64 Laurent Vivier
2016-09-27 18:55 ` [Qemu-devel] [PATCH v2 1/6] libqos: add PPC64 PCI support Laurent Vivier
2016-09-27 18:55 ` [Qemu-devel] [PATCH v2 2/6] libqos: add PCI management in qtest_vboot()/qtest_shutdown() Laurent Vivier
2016-09-28  6:46   ` Greg Kurz
2016-09-27 18:55 ` [Qemu-devel] [PATCH v2 3/6] libqos: use generic qtest_shutdown() Laurent Vivier
2016-09-28  6:56   ` Greg Kurz
2016-09-27 18:55 ` [Qemu-devel] [PATCH v2 4/6] qtest: evaluate endianness of the target in qtest_init() Laurent Vivier
2016-09-28  8:08   ` Greg Kurz
2016-09-27 18:55 ` [Qemu-devel] [PATCH v2 5/6] qtest: define target cpu endianness conversion function Laurent Vivier
2016-09-28  2:40   ` [Qemu-devel] [Qemu-ppc] " David Gibson
2016-09-28  7:41     ` Laurent Vivier
2016-09-27 18:55 ` [Qemu-devel] [PATCH v2 6/6] tests: enable ohci/uhci/xhci tests on PPC64 Laurent Vivier
2016-09-28  2:45   ` [Qemu-devel] [Qemu-ppc] " David Gibson
2016-09-28  7:54     ` Laurent Vivier
2016-09-29  4:10       ` David Gibson
2016-09-27 19:23 ` no-reply [this message]

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=20160927192318.227109.83619@ex-std-node742.prod.rhcloud.com \
    --to=no-reply@patchew.org \
    --cc=dgibson@redhat.com \
    --cc=famz@redhat.com \
    --cc=groug@kaod.org \
    --cc=kraxel@redhat.com \
    --cc=lvivier@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    --cc=thuth@redhat.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).