From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36179) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VDs8W-0000C0-5o for qemu-devel@nongnu.org; Mon, 26 Aug 2013 04:27:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VDs8Q-0006vu-9S for qemu-devel@nongnu.org; Mon, 26 Aug 2013 04:26:56 -0400 Received: from mail-ee0-x234.google.com ([2a00:1450:4013:c00::234]:32847) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VDs8Q-0006vq-3C for qemu-devel@nongnu.org; Mon, 26 Aug 2013 04:26:50 -0400 Received: by mail-ee0-f52.google.com with SMTP id c41so1457007eek.11 for ; Mon, 26 Aug 2013 01:26:49 -0700 (PDT) Date: Mon, 26 Aug 2013 10:26:47 +0200 From: Stefan Hajnoczi Message-ID: <20130826082646.GC28949@stefanha-thinkpad.redhat.com> References: <20130823162825.GB22101@rox.home.comstyle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130823162825.GB22101@rox.home.comstyle.com> Subject: Re: [Qemu-devel] [PATCH] vmxnet3: Eliminate __packed redefined warning List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Brad Smith Cc: qemu-devel@nongnu.org On Fri, Aug 23, 2013 at 12:28:25PM -0400, Brad Smith wrote: > This eliminates a warning about __packed being redefined as exposed by the > vmxnet3 code. __packed is not used anywhere in the vmxnet3 code. > > CC hw/net/vmxnet3.o > In file included from hw/net/vmxnet3.c:29: > hw/net/vmxnet3.h:37:1: warning: "__packed" redefined > In file included from /usr/include/stdlib.h:38, > from /buildbot-qemu/default_openbsd_current/build/include/qemu-common.h:26, > from /buildbot-qemu/default_openbsd_current/build/include/hw/hw.h:5, > from hw/net/vmxnet3.c:18: > /usr/include/sys/cdefs.h:209:1: warning: this is the location of the previous definition > > Signed-off-by: Brad Smith Thanks, applied to my net tree: https://github.com/stefanha/qemu/commits/net Stefan