From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MsxWG-0002Hu-2T for qemu-devel@nongnu.org; Wed, 30 Sep 2009 07:38:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MsxWA-0002Gb-Cg for qemu-devel@nongnu.org; Wed, 30 Sep 2009 07:38:50 -0400 Received: from [199.232.76.173] (port=42459 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MsxWA-0002GW-5B for qemu-devel@nongnu.org; Wed, 30 Sep 2009 07:38:46 -0400 Received: from mx1.redhat.com ([209.132.183.28]:23741) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MsxW9-0008Ot-MN for qemu-devel@nongnu.org; Wed, 30 Sep 2009 07:38:45 -0400 Date: Wed, 30 Sep 2009 13:36:46 +0200 From: "Michael S. Tsirkin" Subject: Re: [Qemu-devel] [PATCH 1/9] pci: fix PCI_DPRINTF() wrt variadic macro. Message-ID: <20090930113646.GD18802@redhat.com> References: <1247656509-32227-1-git-send-email-yamahata@valinux.co.jp> <1247656509-32227-2-git-send-email-yamahata@valinux.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1247656509-32227-2-git-send-email-yamahata@valinux.co.jp> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Isaku Yamahata Cc: qemu-devel@nongnu.org On Wed, Jul 15, 2009 at 08:15:01PM +0900, Isaku Yamahata wrote: > add missing ## in PCI_DPRINTF() to compile. > > Signed-off-by: Isaku Yamahata Acked-by: Michael S. Tsirkin > --- > hw/pci.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/hw/pci.c b/hw/pci.c > index c1c4f06..2963da2 100644 > --- a/hw/pci.c > +++ b/hw/pci.c > @@ -29,7 +29,7 @@ > > //#define DEBUG_PCI > #ifdef DEBUG_PCI > -# define PCI_DPRINTF(format, ...) printf(format, __VA_ARGS__) > +# define PCI_DPRINTF(format, ...) printf(format, ## __VA_ARGS__) > #else > # define PCI_DPRINTF(format, ...) do { } while (0) > #endif > -- > 1.6.0.2 > >