From patchwork Mon Oct 5 10:06:41 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Isaku Yamahata X-Patchwork-Id: 34969 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id D6E81B7B92 for ; Mon, 5 Oct 2009 21:24:08 +1100 (EST) Received: from localhost ([127.0.0.1]:59981 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mukjd-00012S-On for incoming@patchwork.ozlabs.org; Mon, 05 Oct 2009 06:24:05 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MukV8-0001EC-R7 for qemu-devel@nongnu.org; Mon, 05 Oct 2009 06:09:07 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MukUt-00012I-9K for qemu-devel@nongnu.org; Mon, 05 Oct 2009 06:08:56 -0400 Received: from [199.232.76.173] (port=44762 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MukUs-00011w-LL for qemu-devel@nongnu.org; Mon, 05 Oct 2009 06:08:50 -0400 Received: from mail.valinux.co.jp ([210.128.90.3]:55401) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MukUr-00074R-M4 for qemu-devel@nongnu.org; Mon, 05 Oct 2009 06:08:50 -0400 Received: from nm.local.valinux.co.jp (vagw.valinux.co.jp [210.128.90.14]) by mail.valinux.co.jp (Postfix) with ESMTP id D9CFC49D7B; Mon, 5 Oct 2009 19:08:40 +0900 (JST) Received: from yamahata by nm.local.valinux.co.jp with local (Exim 4.69) (envelope-from ) id 1MukT9-0004CV-Bi; Mon, 05 Oct 2009 19:07:03 +0900 From: Isaku Yamahata To: qemu-devel@nongnu.org, mst@redhat.com Date: Mon, 5 Oct 2009 19:06:41 +0900 Message-Id: <1254737223-16129-2-git-send-email-yamahata@valinux.co.jp> X-Mailer: git-send-email 1.6.0.2 In-Reply-To: <1254737223-16129-1-git-send-email-yamahata@valinux.co.jp> References: <1254737223-16129-1-git-send-email-yamahata@valinux.co.jp> X-Virus-Scanned: clamav-milter 0.95.2 at va-mail.local.valinux.co.jp X-Virus-Status: Clean X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Cc: yamahata@valinux.co.jp Subject: [Qemu-devel] [PATCH 01/23] pci: fix PCI_DPRINTF() wrt variadic macro. X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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 64d70ed..4392574 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