From patchwork Fri Oct 2 10:31:33 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Isaku Yamahata X-Patchwork-Id: 34834 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 9BD6EB7BD0 for ; Fri, 2 Oct 2009 21:21:28 +1000 (EST) Received: from localhost ([127.0.0.1]:43026 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MtgCS-0002x3-T4 for incoming@patchwork.ozlabs.org; Fri, 02 Oct 2009 07:21:24 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mtfud-0004wD-5U for qemu-devel@nongnu.org; Fri, 02 Oct 2009 07:02:59 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MtfuW-0004sh-SR for qemu-devel@nongnu.org; Fri, 02 Oct 2009 07:02:57 -0400 Received: from [199.232.76.173] (port=35478 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MtfuW-0004sd-J1 for qemu-devel@nongnu.org; Fri, 02 Oct 2009 07:02:52 -0400 Received: from mail.valinux.co.jp ([210.128.90.3]:34749) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MtfuW-0000AB-0t for qemu-devel@nongnu.org; Fri, 02 Oct 2009 07:02:52 -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 4516549CE6; Fri, 2 Oct 2009 19:33:35 +0900 (JST) Received: from yamahata by nm.local.valinux.co.jp with local (Exim 4.69) (envelope-from ) id 1MtfQb-0006jH-Nq; Fri, 02 Oct 2009 19:31:57 +0900 From: Isaku Yamahata To: qemu-devel@nongnu.org, anthony@codemonkey.ws Date: Fri, 2 Oct 2009 19:31:33 +0900 Message-Id: <1254479517-25845-2-git-send-email-yamahata@valinux.co.jp> X-Mailer: git-send-email 1.6.0.2 In-Reply-To: <1254479517-25845-1-git-send-email-yamahata@valinux.co.jp> References: <1254479517-25845-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/25] 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