From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MOz0V-00087c-Ot for qemu-devel@nongnu.org; Thu, 09 Jul 2009 15:10:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MOz0Q-000861-O2 for qemu-devel@nongnu.org; Thu, 09 Jul 2009 15:10:10 -0400 Received: from [199.232.76.173] (port=42167 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOz0P-00085y-TX for qemu-devel@nongnu.org; Thu, 09 Jul 2009 15:10:05 -0400 Received: from rv-out-0708.google.com ([209.85.198.246]:29862) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MOz0P-0005Zp-Co for qemu-devel@nongnu.org; Thu, 09 Jul 2009 15:10:05 -0400 Received: by rv-out-0708.google.com with SMTP id b17so79400rvf.22 for ; Thu, 09 Jul 2009 12:10:04 -0700 (PDT) Message-ID: <4A564089.8020207@codemonkey.ws> Date: Thu, 09 Jul 2009 14:10:01 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 4/6] ioport: remove some #ifdef DEBUG_UNUSED_IOPORT. References: <1246596159-16126-1-git-send-email-yamahata@valinux.co.jp> <1246596159-16126-5-git-send-email-yamahata@valinux.co.jp> In-Reply-To: <1246596159-16126-5-git-send-email-yamahata@valinux.co.jp> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Isaku Yamahata Cc: qemu-devel@nongnu.org Isaku Yamahata wrote: > remove some #ifdef DEBUG_UNUSED_IOPORT in ioport.c > > Signed-off-by: Isaku Yamahata > --- > ioport.c | 24 ++++++++++++------------ > 1 files changed, 12 insertions(+), 12 deletions(-) > > diff --git a/ioport.c b/ioport.c > index 01cfaf7..87c01b4 100644 > --- a/ioport.c > +++ b/ioport.c > @@ -33,6 +33,12 @@ > //#define DEBUG_UNUSED_IOPORT > //#define DEBUG_IOPORT > > +#ifdef DEBUG_UNUSED_IOPORT > +# define LOG_UNUSED_IOPORT(...) fprintf(stderr, __VA_ARGS__) > +#else > #define LOG_UNUSED_IOPORT(fmt, ...) fprintf(stderr, ## __VA_ARGS__) Regards, Anthony Liguori