From: Jeff Cody <jcody@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: Qemu-block <qemu-block@nongnu.org>,
QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PULL v2 0/5] Block patches for 2.9
Date: Wed, 1 Mar 2017 22:47:57 -0500 [thread overview]
Message-ID: <20170302034757.GA16314@localhost.localdomain> (raw)
In-Reply-To: <CAFEAcA_WQWnSTz8_oJ1qwGsVKKJtoQpyQXLYLEQFPNMEHp8ueg@mail.gmail.com>
On Wed, Mar 01, 2017 at 04:30:55PM +0000, Peter Maydell wrote:
> On 28 February 2017 at 16:34, Jeff Cody <jcody@redhat.com> wrote:
> > The following changes since commit c8c0a1a784cdf70ecea50e93213137c6c89337a7:
> >
> > Merge remote-tracking branch 'remotes/cody/tags/block-pull-request' into staging (2017-02-28 13:41:03 +0000)
> >
> > are available in the git repository at:
> >
> > git@github.com:codyprime/qemu-kvm-jtc.git tags/block-pull-request
> >
> > for you to fetch changes up to 7a4bdbdd818fba3fb6c79d23baa3c7cb928be661:
> >
> > block/rbd: add support for 'mon_host', 'auth_supported' via QAPI (2017-02-28 11:32:46 -0500)
> >
> > ----------------------------------------------------------------
> > Block patches for 2.9 - rbd blockdev-add. Added s-o-b's.
> > ----------------------------------------------------------------
>
> Doesn't build on some compilers:
>
> /home/petmay01/qemu/block/rbd.c: In function 'qemu_rbd_array_opts':
> /home/petmay01/qemu/block/rbd.c:605:5: error: 'for' loop initial
> declarations are only allowed in C99 or C11 mode
> for (int i = 0; i < num_entries; i++) {
> ^
> /home/petmay01/qemu/block/rbd.c:605:5: note: use option -std=c99,
> -std=gnu99, -std=c11 or -std=gnu11 to compile your code
>
> Variable declaration has to go at the top of a block,
> not inside a for().
I just sent a v3. I'm traveling, and have limited connectivity, so I could
only do a quick sanity compile check for the pull req. But the diff is only
2 lines, to move the int i declaration up.
-Jeff
prev parent reply other threads:[~2017-03-02 3:48 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-28 16:34 [Qemu-devel] [PULL v2 0/5] Block patches for 2.9 Jeff Cody
2017-02-28 16:34 ` [Qemu-devel] [PULL v2 1/5] block/rbd: don't copy strings in qemu_rbd_next_tok() Jeff Cody
2017-02-28 16:34 ` [Qemu-devel] [PULL v2 2/5] block/rbd: add all the currently supported runtime_opts Jeff Cody
2017-02-28 16:34 ` [Qemu-devel] [PULL v2 3/5] block/rbd: parse all options via bdrv_parse_filename Jeff Cody
2017-02-28 16:34 ` [Qemu-devel] [PULL v2 4/5] block/rbd: add blockdev-add support Jeff Cody
2017-02-28 16:34 ` [Qemu-devel] [PULL v2 5/5] block/rbd: add support for 'mon_host', 'auth_supported' via QAPI Jeff Cody
2017-02-28 17:31 ` [Qemu-devel] [PULL v2 0/5] Block patches for 2.9 no-reply
2017-02-28 21:21 ` Jeff Cody
2017-03-01 16:30 ` Peter Maydell
2017-03-02 3:47 ` Jeff Cody [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=20170302034757.GA16314@localhost.localdomain \
--to=jcody@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-block@nongnu.org \
--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 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.