Received: from eggs.gnu.org ([2001:4830:134:3::10]:46834) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e8nSe-0000Nr-8G for qemu-devel@nongnu.org; Sun, 29 Oct 2017 09:17:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e8nSd-0006rU-5I for qemu-devel@nongnu.org; Sun, 29 Oct 2017 09:17:08 -0400 From: Juan Quintela In-Reply-To: (Alistair Francis's message of "Thu, 19 Oct 2017 09:15:41 -0700") References: Reply-To: quintela@redhat.com Date: Sun, 29 Oct 2017 14:16:53 +0100 Message-ID: <87efpmccvu.fsf@secure.laptop> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH v3 01/46] Replace all occurances of __FUNCTION__ with __func__ List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alistair Francis Cc: qemu-devel@nongnu.org, alistair23@gmail.com, armbru@redhat.com, Gerd Hoffmann , Andrzej Zaborowski , Stefano Stabellini , Anthony Perard , John Snow , Aurelien Jarno , Yongbok Kim , Peter Crosthwaite , Stefan Hajnoczi , Fam Zheng , "Dr. David Alan Gilbert" , qemu-arm@nongnu.org, qemu-block@nongnu.org, xen-devel@lists.xenproject.org Alistair Francis wrote: > Replace all occurs of __FUNCTION__ except for the check in checkpatch > with the non GCC specific __func__. > > One line in hcd-musb.c was manually tweaked to pass checkpatch. > > Signed-off-by: Alistair Francis > Cc: Gerd Hoffmann > Cc: Andrzej Zaborowski > Cc: Stefano Stabellini > Cc: Anthony Perard > Cc: John Snow > Cc: Aurelien Jarno > Cc: Yongbok Kim > Cc: Peter Crosthwaite > Cc: Stefan Hajnoczi > Cc: Fam Zheng > Cc: Juan Quintela > Cc: "Dr. David Alan Gilbert" > Cc: qemu-arm@nongnu.org > Cc: qemu-block@nongnu.org > Cc: xen-devel@lists.xenproject.org > Reviewed-by: Eric Blake > Reviewed-by: Stefan Hajnoczi Reviewed-by: Juan Quintela > diff --git a/audio/audio_int.h b/audio/audio_int.h > index 5bcb1c60e1..543b1bd8d5 100644 > --- a/audio/audio_int.h > +++ b/audio/audio_int.h > @@ -253,7 +253,7 @@ static inline int audio_ring_dist (int dst, int src, int len) > #define AUDIO_STRINGIFY(n) AUDIO_STRINGIFY_(n) > > #if defined _MSC_VER || defined __GNUC__ > -#define AUDIO_FUNC __FUNCTION__ > +#define AUDIO_FUNC __func__ > #else > #define AUDIO_FUNC __FILE__ ":" AUDIO_STRINGIFY (__LINE__) > #endif Unrelated to this patch .... Do we really support other compilers than msc and gcc? Later, Juan.