All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex Williamson <alex.williamson@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: QEMU Developers <qemu-devel@nongnu.org>,
	Eric Auger <eric.auger@linaro.org>
Subject: Re: [Qemu-devel] [PULL 0/3] Initial vfio-platform support
Date: Mon, 08 Jun 2015 14:06:31 -0600	[thread overview]
Message-ID: <1433793991.4927.75.camel@redhat.com> (raw)
In-Reply-To: <CAFEAcA-DL_NbiP4AUy5nvVJEVCTzYqgOHisRXtsS_=vwKGYNdg@mail.gmail.com>

On Mon, 2015-06-08 at 18:50 +0100, Peter Maydell wrote:
> On 8 June 2015 at 18:06, Alex Williamson <alex.williamson@redhat.com> wrote:
> > The following changes since commit 2e29dd7c44db30e3d3c108ab2a622cbdac6d16f0:
> >
> >   Merge remote-tracking branch 'remotes/jnsnow/tags/ide-pull-request' into staging (2015-06-08 14:07:32 +0100)
> >
> > are available in the git repository at:
> >
> >
> >   git://github.com/awilliam/qemu-vfio.git tags/vfio-update-20150608.0
> >
> > for you to fetch changes up to 88be7b6bf4c86d89e70585881b6b3326f9bac822:
> >
> >   hw/vfio/platform: calxeda xgmac device (2015-06-08 09:25:26 -0600)
> >
> > ----------------------------------------------------------------
> > Initial VFIO platform device support (Eric Auger, et al.)
> >
> > ----------------------------------------------------------------
> > Eric Auger (3):
> >       hw/vfio/platform: vfio-platform skeleton
> >       hw/vfio/platform: add irq assignment
> >       hw/vfio/platform: calxeda xgmac device
> 
> Hi. I'm afraid this doesn't build with clang:
>   CC    m68k-softmmu/hw/virtio/vhost.o
> /home/petmay01/linaro/qemu-for-merges/hw/vfio/calxeda-xgmac.c:26:33:
> error: unused variable
>       'vfio_platform_vmstate' [-Werror,-Wunused-const-variable]
> static const VMStateDescription vfio_platform_vmstate = {
>                                 ^
> 
> Clang is pickier about some kinds of unused variable, and this
> looks like a genuine bug -- you haven't actually connected the
> VMStateDescription up to anything.

Thanks, Peter.  Eric, it looks like you meant to set dc->vmsd to the
address of this struct in the class init function.  Do you want to fix
that and I'll send a new pull request?  I'd just send a new version of
patch 3 with the fix rolled in.  Thanks,

Alex

  reply	other threads:[~2015-06-08 20:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-08 17:06 [Qemu-devel] [PULL 0/3] Initial vfio-platform support Alex Williamson
2015-06-08 17:06 ` [Qemu-devel] [PULL 1/3] hw/vfio/platform: vfio-platform skeleton Alex Williamson
2015-06-08 17:06 ` [Qemu-devel] [PULL 2/3] hw/vfio/platform: add irq assignment Alex Williamson
2015-06-08 17:06 ` [Qemu-devel] [PULL 3/3] hw/vfio/platform: calxeda xgmac device Alex Williamson
2015-06-08 17:50 ` [Qemu-devel] [PULL 0/3] Initial vfio-platform support Peter Maydell
2015-06-08 20:06   ` Alex Williamson [this message]
2015-06-08 20:50     ` Eric Auger

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=1433793991.4927.75.camel@redhat.com \
    --to=alex.williamson@redhat.com \
    --cc=eric.auger@linaro.org \
    --cc=peter.maydell@linaro.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.