From: Markus Armbruster <armbru@redhat.com>
To: Vincenzo Maffione <v.maffione@gmail.com>
Cc: rizzo@iet.unipi.it, jasowang@redhat.com, qemu-devel@nongnu.org,
stefanha@redhat.com, g.lettieri@iet.unipi.it
Subject: Re: [Qemu-devel] [PATCH 1/2] net: netmap: Fix compilation issue
Date: Thu, 05 Nov 2015 14:01:05 +0100 [thread overview]
Message-ID: <87wptwvbvy.fsf@blackfin.pond.sub.org> (raw)
In-Reply-To: <911665eb3158159da19e7bf1c931f6311a246be9.1446714761.git.v.maffione@gmail.com> (Vincenzo Maffione's message of "Thu, 5 Nov 2015 10:35:40 +0100")
Vincenzo Maffione <v.maffione@gmail.com> writes:
> Reorganization of struct NetClientOptions caused a compilation failure
> of the netmap backend. This patch fixes the issue by properly accessing the
> union field.
>
> Signed-off-by: Vincenzo Maffione <v.maffione@gmail.com>
> ---
> net/netmap.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/net/netmap.c b/net/netmap.c
> index 508b829..4197a9c 100644
> --- a/net/netmap.c
> +++ b/net/netmap.c
> @@ -439,7 +439,7 @@ int net_init_netmap(const NetClientOptions *opts,
> const char *name, NetClientState *peer, Error **errp)
> {
> /* FIXME error_setg(errp, ...) on failure */
> - const NetdevNetmapOptions *netmap_opts = opts->netmap;
> + const NetdevNetmapOptions *netmap_opts = opts->u.netmap;
> NetClientState *nc;
> NetmapPriv me;
> NetmapState *s;
Broken in commit e4ba22b. Recommend to point to that in the commit
message. Thanks for cleaning up the mess we made there!
Reviewed-by: Markus Armbruster <armbru@redhat.com>
next prev parent reply other threads:[~2015-11-05 13:01 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-05 9:35 [Qemu-devel] [PATCH 0/2] Fix compilation of netmap backend Vincenzo Maffione
2015-11-05 9:35 ` [Qemu-devel] [PATCH 1/2] net: netmap: Fix compilation issue Vincenzo Maffione
2015-11-05 13:01 ` Markus Armbruster [this message]
2015-11-05 13:26 ` Vincenzo Maffione
2015-11-05 14:46 ` Eric Blake
2015-11-05 14:52 ` Vincenzo Maffione
2015-11-05 15:01 ` Eric Blake
2015-11-05 20:27 ` Vincenzo Maffione
2015-11-06 10:06 ` Markus Armbruster
2015-11-05 9:35 ` [Qemu-devel] [PATCH 2/2] net: netmap: use error_setg_errno() in place of error_report() Vincenzo Maffione
2015-11-05 13:13 ` Markus Armbruster
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=87wptwvbvy.fsf@blackfin.pond.sub.org \
--to=armbru@redhat.com \
--cc=g.lettieri@iet.unipi.it \
--cc=jasowang@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=rizzo@iet.unipi.it \
--cc=stefanha@redhat.com \
--cc=v.maffione@gmail.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 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.