From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57329) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cuvaN-0001Yl-8n for qemu-devel@nongnu.org; Mon, 03 Apr 2017 02:35:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cuvaI-000050-E7 for qemu-devel@nongnu.org; Mon, 03 Apr 2017 02:35:31 -0400 Received: from mx1.redhat.com ([209.132.183.28]:54998) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cuvaI-0008VS-8m for qemu-devel@nongnu.org; Mon, 03 Apr 2017 02:35:26 -0400 From: Juan Quintela In-Reply-To: (Danil Antonov's message of "Sat, 1 Apr 2017 16:58:55 +0300") References: Reply-To: quintela@redhat.com Date: Mon, 03 Apr 2017 08:35:03 +0200 Message-ID: <87k272knhk.fsf@secure.mitica> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH 24/43] migration: made printf always compile in debug output List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Danil Antonov Cc: qemu-devel@nongnu.org Danil Antonov wrote: > From e5719e802fcd1d1b426d687524ed46f10d044941 Mon Sep 17 00:00:00 2001 > From: Danil Antonov > Date: Wed, 29 Mar 2017 12:35:10 +0300 > Subject: [PATCH 24/43] migration: made printf always compile in debug output > > Wrapped printf calls inside debug macros (DPRINTF) in `if` statement. > This will ensure that printf function will always compile even if debug > output is turned off and, in turn, will prevent bitrot of the format > strings. > > Signed-off-by: Danil Antonov Reviewed-by: Juan Quintela