From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57484) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aiiAT-0000Tp-3m for qemu-devel@nongnu.org; Wed, 23 Mar 2016 08:45:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aiiAO-0006iy-0j for qemu-devel@nongnu.org; Wed, 23 Mar 2016 08:45:45 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:3405) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aiiAN-0006ik-QD for qemu-devel@nongnu.org; Wed, 23 Mar 2016 08:45:39 -0400 Date: Wed, 23 Mar 2016 13:45:37 +0100 From: Samuel Thibault Message-ID: <20160323124537.GD12773@var.bordeaux.inria.fr> References: <1455868726-26350-1-git-send-email-mst@redhat.com> <20160323000506.GI2730@var.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PULL 00/13] vhost, virtio, pci, pxe List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: "J. Kiszka" , Jason Wang , QEMU Developers , "Michael S. Tsirkin" Peter Maydell, on Wed 23 Mar 2016 12:43:44 +0000, wrote: > On 23 March 2016 at 00:05, Samuel Thibault wrote: > > Peter Maydell, on Fri 19 Feb 2016 12:09:17 +0000, wrote: > >> diff --git a/slirp/mbuf.h b/slirp/mbuf.h > >> index 38fedf4..ef5a4f7 100644 > >> --- a/slirp/mbuf.h > >> +++ b/slirp/mbuf.h > >> @@ -81,11 +81,9 @@ struct mbuf { > >> Slirp *slirp; > >> bool resolution_requested; > >> uint64_t expiration_date; > >> + char *m_ext; > >> /* start of dynamic buffer area, must be last element */ > >> - union { > >> - char m_dat[1]; /* ANSI don't like 0 sized arrays */ > >> - char *m_ext; > >> - }; > >> + char m_dat[]; > >> }; > >> > >> #define ifq_prev m_prev > > > > Could you give your Signed-off-by on this? > > Sure; Signed-off-by: Peter Maydell > though as I say I only compile tested it... Sure, but I reviewed it and tested it :) Samuel