From: Eric Blake <eblake@redhat.com>
To: Martin Galvan <martin.galvan@tallertechnologies.com>,
qemu-devel@nongnu.org, peter.maydell@linaro.org,
pbonzini@redhat.com, edgar.iglesias@gmail.com, rth@twiddle.net,
aurelien@aurel32.net, kraxel@redhat.com, blauwirbel@gmail.com,
lcapitulino@redhat.com, armbru@redhat.com, afaerber@suse.de,
dmitry@daynix.com
Subject: Re: [Qemu-devel] [PATCH v2 01/13] Use unsigned types for the 'len' argument of all memory read/write functions
Date: Tue, 1 Mar 2016 09:05:35 -0700 [thread overview]
Message-ID: <56D5BDCF.1050804@redhat.com> (raw)
In-Reply-To: <1456847859-4771-1-git-send-email-martin.galvan@tallertechnologies.com>
[-- Attachment #1: Type: text/plain, Size: 1918 bytes --]
On 03/01/2016 08:57 AM, Martin Galvan wrote:
Missing a S-o-b line; we cannot accept patches unless you sign them:
http://wiki.qemu.org/Contribute/SubmitAPatch
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/SubmittingPatches?id=f6f94e2a#n297
Subject line is long, and lacking a 'topic: summary' prefix. I'd suggest:
mem: use unsigned 'len' for read/write
Then give more details, if needed, in the body of the commit message.
Also, your threading didn't work right. Patch 1/13 was sent with:
References:
<1456847859-4771-1-git-send-email-martin.galvan@tallertechnologies.com>
but with no In-Reply-To:. Meanwhile, the 00/13 cover letter was sent with:
Message-Id:
<1456847681-4532-1-git-send-email-martin.galvan@tallertechnologies.com>
which is subtly different from the references of all the other patches,
making it appear as separate threads.
> ---
> cpus.c | 2 +-
> exec.c | 29 +++++++++++++++--------------
> include/exec/cpu-all.h | 2 +-
> include/exec/cpu-common.h | 10 +++++-----
> include/exec/memory.h | 10 +++++-----
> kvm-all.c | 2 +-
> 6 files changed, 28 insertions(+), 27 deletions(-)
>
> diff --git a/cpus.c b/cpus.c
> index 9592163..e7aa8cc 100644
> --- a/cpus.c
> +++ b/cpus.c
> @@ -1602,7 +1602,7 @@ void qmp_memsave(int64_t addr, int64_t size, const char *filename,
> bool has_cpu, int64_t cpu_index, Error **errp)
> {
> FILE *f;
> - uint32_t l;
> + size_t l;
These are both unsigned types. So based on the subject line alone, this
doesn't fit in the patch, unless the commit message body goes into more
details on why you are changing the size of the type, and not just the
signedness.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]
next prev parent reply other threads:[~2016-03-01 16:05 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1456847650-4476-1-git-send-email-martin.galvan@tallertechnologies.com>
2016-03-01 15:57 ` [Qemu-devel] [PATCH v2 01/13] Use unsigned types for the 'len' argument of all memory read/write functions Martin Galvan
2016-03-01 15:57 ` [Qemu-devel] [PATCH v2 02/13] " Martin Galvan
2016-03-01 16:11 ` Eric Blake
2016-03-01 15:57 ` [Qemu-devel] [PATCH v2 03/13] " Martin Galvan
2016-03-01 15:57 ` [Qemu-devel] [PATCH v2 04/13] " Martin Galvan
2016-03-01 15:57 ` [Qemu-devel] [PATCH v2 05/13] " Martin Galvan
2016-03-01 15:57 ` [Qemu-devel] [PATCH v2 06/13] " Martin Galvan
2016-03-01 15:57 ` [Qemu-devel] [PATCH v2 07/13] " Martin Galvan
2016-03-01 15:57 ` [Qemu-devel] [PATCH v2 08/13] " Martin Galvan
2016-03-01 15:57 ` [Qemu-devel] [PATCH v2 09/13] " Martin Galvan
2016-03-01 15:57 ` [Qemu-devel] [PATCH v2 10/13] " Martin Galvan
2016-03-01 15:57 ` [Qemu-devel] [PATCH v2 11/13] " Martin Galvan
2016-03-01 15:57 ` [Qemu-devel] [PATCH v2 12/13] " Martin Galvan
2016-03-01 15:57 ` [Qemu-devel] [PATCH v2 13/13] " Martin Galvan
2016-03-01 16:05 ` Eric Blake [this message]
2016-03-01 17:56 ` [Qemu-devel] [PATCH v2 01/13] " Martin Galvan
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=56D5BDCF.1050804@redhat.com \
--to=eblake@redhat.com \
--cc=afaerber@suse.de \
--cc=armbru@redhat.com \
--cc=aurelien@aurel32.net \
--cc=blauwirbel@gmail.com \
--cc=dmitry@daynix.com \
--cc=edgar.iglesias@gmail.com \
--cc=kraxel@redhat.com \
--cc=lcapitulino@redhat.com \
--cc=martin.galvan@tallertechnologies.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=rth@twiddle.net \
/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).