From: no-reply@patchew.org
To: berrange@redhat.com
Cc: famz@redhat.com, qemu-devel@nongnu.org, armbru@redhat.com,
mreitz@redhat.com, marcandre.lureau@gmail.com,
pbonzini@redhat.com, afaerber@suse.de
Subject: Re: [Qemu-devel] [PATCH v10 00/11] Provide a QOM-based authorization API
Date: Mon, 15 Aug 2016 07:44:51 -0700 (PDT) [thread overview]
Message-ID: <20160815144444.482798.15867@ex-std-node742.prod.rhcloud.com> (raw)
In-Reply-To: <1471270945-19975-1-git-send-email-berrange@redhat.com>
Hi,
Your series seems to have some coding style problems. See output below for
more information:
Message-id: 1471270945-19975-1-git-send-email-berrange@redhat.com
Subject: [Qemu-devel] [PATCH v10 00/11] Provide a QOM-based authorization API
Type: series
=== TEST SCRIPT BEGIN ===
#!/bin/bash
BASE=base
n=1
total=$(git log --oneline $BASE.. | wc -l)
failed=0
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/1471270945-19975-1-git-send-email-berrange@redhat.com -> patchew/1471270945-19975-1-git-send-email-berrange@redhat.com
Switched to a new branch 'test'
2b42606 qmp: add support for mixed typed input visitor
03ccf4a util: add QAuthZPAM object type for authorizing using PAM
681b2e7 acl: delete existing ACL implementation
3c99fc6 util: add QAuthZSimple object type for a simple access control list
5517080 util: add QAuthZ object as an authorization base class
0393e1c qom: support arbitrary non-scalar properties with -object
f63ef93 qapi: add a QmpInputVisitor that does string conversion
650ee1f qapi: rename QmpOutputVisitor to QObjectOutputVisitor
2a1a17d qapi: rename QmpInputVisitor to QObjectInputVisitor
d0ded29 option: make parse_option_bool/number non-static
3aebeb5 qdict: implement a qdict_crumple method for un-flattening a dict
=== OUTPUT BEGIN ===
Checking PATCH 1/11: qdict: implement a qdict_crumple method for un-flattening a dict...
Checking PATCH 2/11: option: make parse_option_bool/number non-static...
Checking PATCH 3/11: qapi: rename QmpInputVisitor to QObjectInputVisitor...
ERROR: open brace '{' following struct go on the same line
#572: FILE: qapi/qobject-input-visitor.c:27:
+typedef struct StackObject
+{
ERROR: open brace '{' following struct go on the same line
#583: FILE: qapi/qobject-input-visitor.c:38:
+struct QObjectInputVisitor
+{
WARNING: line over 80 characters
#2480: FILE: tests/test-qobject-input-strict.c:94:
+ v = validate_test_init(data, "{ 'integer': -42, 'boolean': true, 'string': 'foo' }");
ERROR: line over 90 characters
#2508: FILE: tests/test-qobject-input-strict.c:122:
+ v = validate_test_init(data, "[ { 'string': 'string0', 'integer': 42 }, { 'string': 'string1', 'integer': 43 }, { 'string': 'string2', 'integer': 44 } ]");
ERROR: line over 90 characters
#2561: FILE: tests/test-qobject-input-strict.c:175:
+ v = validate_test_init(data, "{ 'integer': -42, 'boolean': true, 'string': 'foo', 'extra': 42 }");
ERROR: line over 90 characters
#2575: FILE: tests/test-qobject-input-strict.c:189:
+ v = validate_test_init(data, "{ 'string0': 'string0', 'dict1': { 'string1': 'string1', 'dict2': { 'userdef1': { 'integer': 42, 'string': 'string', 'extra': [42, 23, {'foo':'bar'}] }, 'string2': 'string2'}}}");
ERROR: line over 90 characters
#2589: FILE: tests/test-qobject-input-strict.c:203:
+ v = validate_test_init(data, "[ { 'string': 'string0', 'integer': 42 }, { 'string': 'string1', 'integer': 43 }, { 'string': 'string2', 'integer': 44, 'extra': 'ggg' } ]");
WARNING: line over 80 characters
#2618: FILE: tests/test-qobject-input-strict.c:232:
+ v = validate_test_init(data, "{ 'string': 'c', 'integer': 41, 'boolean': true }");
ERROR: line over 90 characters
#2633: FILE: tests/test-qobject-input-strict.c:247:
+ v = validate_test_init(data, "{ 'integer': 42, 'string': 'c', 'string1': 'd', 'string2': 'e' }");
ERROR: line over 90 characters
#2677: FILE: tests/test-qobject-input-strict.c:291:
+ void (*test_func)(TestInputVisitorData *data, const void *user_data))
ERROR: line over 90 characters
#2900: FILE: tests/test-qobject-input-visitor.c:173:
+ v = visitor_input_test_init(data, "{ 'integer': -42, 'boolean': true, 'string': 'foo' }");
ERROR: line over 90 characters
#2941: FILE: tests/test-qobject-input-visitor.c:214:
+ v = visitor_input_test_init(data, "[ { 'string': 'string0', 'integer': 42 }, { 'string': 'string1', 'integer': 43 }, { 'string': 'string2', 'integer': 44 } ]");
ERROR: line over 90 characters
#2981: FILE: tests/test-qobject-input-visitor.c:254:
+ v = visitor_input_test_init(data, "{ 'integer': -42, 'boolean': true, 'string': 'foo' }");
ERROR: line over 90 characters
#3478: FILE: tests/test-qobject-input-visitor.c:751:
+ void (*test_func)(TestInputVisitorData *data, const void *user_data))
total: 12 errors, 2 warnings, 1864 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/11: qapi: rename QmpOutputVisitor to QObjectOutputVisitor...
ERROR: line over 90 characters
#2555: FILE: tests/test-qobject-output-visitor.c:792:
+ void (*test_func)(TestOutputVisitorData *data, const void *user_data))
total: 1 errors, 0 warnings, 1384 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 5/11: qapi: add a QmpInputVisitor that does string conversion...
WARNING: line over 80 characters
#448: FILE: tests/test-qobject-input-visitor.c:420:
+ v = visitor_input_test_init_full(data, false, false, "{ 'a': null, 'b': '' }");
total: 0 errors, 1 warnings, 423 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/11: qom: support arbitrary non-scalar properties with -object...
Checking PATCH 7/11: util: add QAuthZ object as an authorization base class...
Checking PATCH 8/11: util: add QAuthZSimple object type for a simple access control list...
Checking PATCH 9/11: acl: delete existing ACL implementation...
Checking PATCH 10/11: util: add QAuthZPAM object type for authorizing using PAM...
Checking PATCH 11/11: qmp: add support for mixed typed input visitor...
=== 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-15 14:45 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-15 14:22 [Qemu-devel] [PATCH v10 00/11] Provide a QOM-based authorization API Daniel P. Berrange
2016-08-15 14:22 ` [Qemu-devel] [PATCH v10 01/11] qdict: implement a qdict_crumple method for un-flattening a dict Daniel P. Berrange
2016-08-15 14:22 ` [Qemu-devel] [PATCH v10 02/11] option: make parse_option_bool/number non-static Daniel P. Berrange
2016-08-15 14:22 ` [Qemu-devel] [PATCH v10 03/11] qapi: rename QmpInputVisitor to QObjectInputVisitor Daniel P. Berrange
2016-08-15 14:22 ` [Qemu-devel] [PATCH v10 04/11] qapi: rename QmpOutputVisitor to QObjectOutputVisitor Daniel P. Berrange
2016-08-15 14:22 ` [Qemu-devel] [PATCH v10 05/11] qapi: add a QmpInputVisitor that does string conversion Daniel P. Berrange
2016-08-15 14:22 ` [Qemu-devel] [PATCH v10 06/11] qom: support arbitrary non-scalar properties with -object Daniel P. Berrange
2016-08-15 14:22 ` [Qemu-devel] [PATCH v10 07/11] util: add QAuthZ object as an authorization base class Daniel P. Berrange
2016-08-15 14:22 ` [Qemu-devel] [PATCH v10 08/11] util: add QAuthZSimple object type for a simple access control list Daniel P. Berrange
2016-08-15 14:22 ` [Qemu-devel] [PATCH v10 09/11] acl: delete existing ACL implementation Daniel P. Berrange
2016-08-15 14:22 ` [Qemu-devel] [PATCH v10 10/11] util: add QAuthZPAM object type for authorizing using PAM Daniel P. Berrange
2016-08-15 14:22 ` [Qemu-devel] [PATCH v10 11/11] qmp: add support for mixed typed input visitor Daniel P. Berrange
2016-08-15 14:44 ` no-reply [this message]
2016-08-15 14:46 ` [Qemu-devel] [PATCH v10 00/11] Provide a QOM-based authorization API no-reply
2016-08-16 1:21 ` Fam Zheng
2016-08-16 8:29 ` Daniel P. Berrange
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=20160815144444.482798.15867@ex-std-node742.prod.rhcloud.com \
--to=no-reply@patchew.org \
--cc=afaerber@suse.de \
--cc=armbru@redhat.com \
--cc=berrange@redhat.com \
--cc=famz@redhat.com \
--cc=marcandre.lureau@gmail.com \
--cc=mreitz@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.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 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).