From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.5 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AFCADC4361B for ; Mon, 14 Dec 2020 08:06:34 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 01855225AC for ; Mon, 14 Dec 2020 08:06:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 01855225AC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:56314 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koisK-0001Co-UA for qemu-devel@archiver.kernel.org; Mon, 14 Dec 2020 03:06:32 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39156) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koirE-0000aX-U2; Mon, 14 Dec 2020 03:05:24 -0500 Received: from mail-ej1-x644.google.com ([2a00:1450:4864:20::644]:40170) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1koirC-0000SO-B7; Mon, 14 Dec 2020 03:05:24 -0500 Received: by mail-ej1-x644.google.com with SMTP id x16so21243528ejj.7; Mon, 14 Dec 2020 00:05:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=TiB2F/QWVAlfD2IsKZXhLFiZ75QHq0FFdQ/Lizli0g0=; b=F315ig/6/Gu7lB+D3/eCEGRGZzsyMTap3fAtk2tQ6P6Vkm6DEJK15FNnVvp+jcjujD liTiZGjVI7uNM6WbG2ZYdCjObA9P6KKY9/b0f59rKrPIkStxpyIh/NncDp242+VgBmvd /KJlqgHxBNhrr4y/RVZyDMBjYn2aU3JMZa0J7xmyhVvBe9crJTCIjg39wsbnTFBgl89J nWn7w83o/TFQhoXB313BkvWEgzVRDFgSWDBGg83JL/JbTKtsOexswDFm/K2wTqOyRCCv MqIzh6tZuacUZEokI5s1Wwx9/4kNP8vr4/csavrGM9gm61kIO19ZHdpjQXH9ueNQNxXN /lgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=TiB2F/QWVAlfD2IsKZXhLFiZ75QHq0FFdQ/Lizli0g0=; b=F6Ku3WZAGrg2kb/M7JlB48iq93TIHZodfv5hkCeVXK5TnHh0Vcs5yS/PQPRmdLqQFx LpDuV1DIOPRfUiyz9pLQqNzvDc6b21bUc33pgDUo1HQL2AzM8ZPJjBPxNrFbNZ+mX9O6 h3H1Q2UBBtcnPCGpQ39LCN38n76IKM244ZOHEa0B7i0T9fTWGePiYmq+NTn1MRHOMsZA y5mHE2xl2VE7dQF1g+9yfu6/0lNCnhmnQTUdwOunDTYOXSTt3jQrJNhF/UxWNfxQseGq iWBmLBCVOVMwx+PnkkBXcLMdOnGPIriVUO95jRv9YSOUUE7zANsuGarjLnQdY2OwJxYr 9+ag== X-Gm-Message-State: AOAM530VaI203zv6FbjXmKhRPfDupQTieUhi9SocaJOCOJ9tBOw2xLwd jaWpPFDzGYt6BZx9lKmBkcEVcpTRf0/dg3rmFf05KbxJVwM= X-Google-Smtp-Source: ABdhPJznfNt7s53g5IQ7FIyvHkE8ul5p+FofIGYKbfcP6yJUlWHy0cPXR1+relJpFBG9qlDzAUw/X9v5sYr7YLru7eo= X-Received: by 2002:a17:906:9452:: with SMTP id z18mr12709453ejx.389.1607933118217; Mon, 14 Dec 2020 00:05:18 -0800 (PST) MIME-Version: 1.0 References: <20201210134752.780923-1-marcandre.lureau@redhat.com> <20201210134752.780923-14-marcandre.lureau@redhat.com> In-Reply-To: <20201210134752.780923-14-marcandre.lureau@redhat.com> From: =?UTF-8?B?TWFyYy1BbmRyw6kgTHVyZWF1?= Date: Mon, 14 Dec 2020 12:05:05 +0400 Message-ID: Subject: Re: [PATCH v3 13/13] compiler.h: remove QEMU_GNUC_PREREQ To: QEMU Content-Type: multipart/alternative; boundary="0000000000005583ba05b6681a42" Received-SPF: pass client-ip=2a00:1450:4864:20::644; envelope-from=marcandre.lureau@gmail.com; helo=mail-ej1-x644.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , Stefano Stabellini , Paul Durrant , Richard Henderson , Laurent Vivier , "Dr. David Alan Gilbert" , "open list:ARM" , Gerd Hoffmann , Stefan Hajnoczi , xen-devel@lists.xenproject.org, Anthony Perard , Paolo Bonzini , =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" --0000000000005583ba05b6681a42 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi On Thu, Dec 10, 2020 at 6:07 PM wrote: > From: Marc-Andr=C3=A9 Lureau > > When needed, the G_GNUC_CHECK_VERSION() glib macro can be used instead. > > Signed-off-by: Marc-Andr=C3=A9 Lureau > --- > include/qemu/compiler.h | 11 ----------- > scripts/cocci-macro-file.h | 1 - > 2 files changed, 12 deletions(-) > > diff --git a/include/qemu/compiler.h b/include/qemu/compiler.h > index 5e6cf2c8e8..1b9e58e82b 100644 > --- a/include/qemu/compiler.h > +++ b/include/qemu/compiler.h > @@ -11,17 +11,6 @@ > #define QEMU_STATIC_ANALYSIS 1 > #endif > > > -/*----------------------------------------------------------------------= ------ > -| The macro QEMU_GNUC_PREREQ tests for minimum version of the GNU C > compiler. > -| The code is a copy of SOFTFLOAT_GNUC_PREREQ, see softfloat-macros.h. > > -*-----------------------------------------------------------------------= -----*/ > -#if defined(__GNUC__) && defined(__GNUC_MINOR__) > -# define QEMU_GNUC_PREREQ(maj, min) \ > - ((__GNUC__ << 16) + __GNUC_MINOR__ >=3D ((maj) << 16) + (min)) > -#else > -# define QEMU_GNUC_PREREQ(maj, min) 0 > -#endif > - > #define QEMU_NORETURN __attribute__ ((__noreturn__)) > > #define QEMU_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) > diff --git a/scripts/cocci-macro-file.h b/scripts/cocci-macro-file.h > index c6bbc05ba3..20eea6b708 100644 > --- a/scripts/cocci-macro-file.h > +++ b/scripts/cocci-macro-file.h > @@ -19,7 +19,6 @@ > */ > > /* From qemu/compiler.h */ > -#define QEMU_GNUC_PREREQ(maj, min) 1 > #define QEMU_NORETURN __attribute__ ((__noreturn__)) > #define QEMU_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) > #define QEMU_SENTINEL __attribute__((sentinel)) > ping, thanks --=20 Marc-Andr=C3=A9 Lureau --0000000000005583ba05b6681a42 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi

On Thu, Dec 10, 2020 at 6:07 PM <= ;marcandre.lureau@redhat.com= > wrote:
= From: Marc-Andr=C3=A9 Lureau <marcandre.lureau@redhat.com>

When needed, the G_GNUC_CHECK_VERSION() glib macro can be used instead.

Signed-off-by: Marc-Andr=C3=A9 Lureau <marcandre.lureau@redhat.com>
---
=C2=A0include/qemu/compiler.h=C2=A0 =C2=A0 | 11 -----------
=C2=A0scripts/cocci-macro-file.h |=C2=A0 1 -
=C2=A02 files changed, 12 deletions(-)

diff --git a/include/qemu/compiler.h b/include/qemu/compiler.h
index 5e6cf2c8e8..1b9e58e82b 100644
--- a/include/qemu/compiler.h
+++ b/include/qemu/compiler.h
@@ -11,17 +11,6 @@
=C2=A0#define QEMU_STATIC_ANALYSIS 1
=C2=A0#endif

-/*------------------------------------------------------------------------= ----
-| The macro QEMU_GNUC_PREREQ tests for minimum version of the GNU C compil= er.
-| The code is a copy of SOFTFLOAT_GNUC_PREREQ, see softfloat-macros.h.
-*-------------------------------------------------------------------------= ---*/
-#if defined(__GNUC__) && defined(__GNUC_MINOR__)
-# define QEMU_GNUC_PREREQ(maj, min) \
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0((__GNUC__ << 16) + __GNUC_MINOR__= >=3D ((maj) << 16) + (min))
-#else
-# define QEMU_GNUC_PREREQ(maj, min) 0
-#endif
-
=C2=A0#define QEMU_NORETURN __attribute__ ((__noreturn__))

=C2=A0#define QEMU_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) diff --git a/scripts/cocci-macro-file.h b/scripts/cocci-macro-file.h
index c6bbc05ba3..20eea6b708 100644
--- a/scripts/cocci-macro-file.h
+++ b/scripts/cocci-macro-file.h
@@ -19,7 +19,6 @@
=C2=A0 */

=C2=A0/* From qemu/compiler.h */
-#define QEMU_GNUC_PREREQ(maj, min) 1
=C2=A0#define QEMU_NORETURN __attribute__ ((__noreturn__))
=C2=A0#define QEMU_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) =C2=A0#define QEMU_SENTINEL __attribute__((sentinel))
=
ping, thanks

--
Marc-Andr=C3=A9 Lureau
--0000000000005583ba05b6681a42-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B946FC4361B for ; Mon, 14 Dec 2020 08:05:37 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6A834225AC for ; Mon, 14 Dec 2020 08:05:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6A834225AC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.51946.90880 (Exim 4.92) (envelope-from ) id 1koirC-0001bl-10; Mon, 14 Dec 2020 08:05:22 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 51946.90880; Mon, 14 Dec 2020 08:05:21 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1koirB-0001be-Tl; Mon, 14 Dec 2020 08:05:21 +0000 Received: by outflank-mailman (input) for mailman id 51946; Mon, 14 Dec 2020 08:05:20 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1koirA-0001bZ-5M for xen-devel@lists.xenproject.org; Mon, 14 Dec 2020 08:05:20 +0000 Received: from mail-ej1-x644.google.com (unknown [2a00:1450:4864:20::644]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 9972717d-5d78-4853-ae96-9d20773f3514; Mon, 14 Dec 2020 08:05:19 +0000 (UTC) Received: by mail-ej1-x644.google.com with SMTP id q22so3509953eja.2 for ; Mon, 14 Dec 2020 00:05:19 -0800 (PST) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 9972717d-5d78-4853-ae96-9d20773f3514 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=TiB2F/QWVAlfD2IsKZXhLFiZ75QHq0FFdQ/Lizli0g0=; b=F315ig/6/Gu7lB+D3/eCEGRGZzsyMTap3fAtk2tQ6P6Vkm6DEJK15FNnVvp+jcjujD liTiZGjVI7uNM6WbG2ZYdCjObA9P6KKY9/b0f59rKrPIkStxpyIh/NncDp242+VgBmvd /KJlqgHxBNhrr4y/RVZyDMBjYn2aU3JMZa0J7xmyhVvBe9crJTCIjg39wsbnTFBgl89J nWn7w83o/TFQhoXB313BkvWEgzVRDFgSWDBGg83JL/JbTKtsOexswDFm/K2wTqOyRCCv MqIzh6tZuacUZEokI5s1Wwx9/4kNP8vr4/csavrGM9gm61kIO19ZHdpjQXH9ueNQNxXN /lgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=TiB2F/QWVAlfD2IsKZXhLFiZ75QHq0FFdQ/Lizli0g0=; b=HvlDIeTB2pUtLPQi81tqiGtIelknn6BgqfX6mqTV1AHBdgNWgfAdi3x/A4x85vL+ek D+9Y/+bA03Oj4+C8MTjknNLyiMnlQe/VD9qen+u/nFe2Jbw34UojuYa6wN3poZIBVy8o Mr2qrT/n9K6gYdsbx3bRbxj0u/wpmoNV9sqoInL4yhEoYJElVEWVqk/AuoxBwSdKgiwb pmHOlpGm8ITHXe53a503ASAuvKjwHGn5g94/CJwlf4iUOx9Q3Rnr+XQgEHDgh9YLV2AM R51OG1GqhBTqPotpF/ZZ09BcHL2QIp4QS+GvP+spwD5GSZPZ7lMkHuVbWf01M+01MMSp pjMA== X-Gm-Message-State: AOAM532iHADdkzDIlHiIAbUlrVU5ji/c3ERAr/mlJgl5Dlb0e36XyMoW zfdM2H3pK6PzjytWSEHbhKKtDBrWUTSwIj9oLI4= X-Google-Smtp-Source: ABdhPJznfNt7s53g5IQ7FIyvHkE8ul5p+FofIGYKbfcP6yJUlWHy0cPXR1+relJpFBG9qlDzAUw/X9v5sYr7YLru7eo= X-Received: by 2002:a17:906:9452:: with SMTP id z18mr12709453ejx.389.1607933118217; Mon, 14 Dec 2020 00:05:18 -0800 (PST) MIME-Version: 1.0 References: <20201210134752.780923-1-marcandre.lureau@redhat.com> <20201210134752.780923-14-marcandre.lureau@redhat.com> In-Reply-To: <20201210134752.780923-14-marcandre.lureau@redhat.com> From: =?UTF-8?B?TWFyYy1BbmRyw6kgTHVyZWF1?= Date: Mon, 14 Dec 2020 12:05:05 +0400 Message-ID: Subject: Re: [PATCH v3 13/13] compiler.h: remove QEMU_GNUC_PREREQ To: QEMU Cc: Peter Maydell , Stefano Stabellini , Paul Durrant , Richard Henderson , Laurent Vivier , "Dr. David Alan Gilbert" , "open list:ARM" , Gerd Hoffmann , Stefan Hajnoczi , Paolo Bonzini , Anthony Perard , xen-devel@lists.xenproject.org, =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= Content-Type: multipart/alternative; boundary="0000000000005583ba05b6681a42" --0000000000005583ba05b6681a42 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi On Thu, Dec 10, 2020 at 6:07 PM wrote: > From: Marc-Andr=C3=A9 Lureau > > When needed, the G_GNUC_CHECK_VERSION() glib macro can be used instead. > > Signed-off-by: Marc-Andr=C3=A9 Lureau > --- > include/qemu/compiler.h | 11 ----------- > scripts/cocci-macro-file.h | 1 - > 2 files changed, 12 deletions(-) > > diff --git a/include/qemu/compiler.h b/include/qemu/compiler.h > index 5e6cf2c8e8..1b9e58e82b 100644 > --- a/include/qemu/compiler.h > +++ b/include/qemu/compiler.h > @@ -11,17 +11,6 @@ > #define QEMU_STATIC_ANALYSIS 1 > #endif > > > -/*----------------------------------------------------------------------= ------ > -| The macro QEMU_GNUC_PREREQ tests for minimum version of the GNU C > compiler. > -| The code is a copy of SOFTFLOAT_GNUC_PREREQ, see softfloat-macros.h. > > -*-----------------------------------------------------------------------= -----*/ > -#if defined(__GNUC__) && defined(__GNUC_MINOR__) > -# define QEMU_GNUC_PREREQ(maj, min) \ > - ((__GNUC__ << 16) + __GNUC_MINOR__ >=3D ((maj) << 16) + (min)) > -#else > -# define QEMU_GNUC_PREREQ(maj, min) 0 > -#endif > - > #define QEMU_NORETURN __attribute__ ((__noreturn__)) > > #define QEMU_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) > diff --git a/scripts/cocci-macro-file.h b/scripts/cocci-macro-file.h > index c6bbc05ba3..20eea6b708 100644 > --- a/scripts/cocci-macro-file.h > +++ b/scripts/cocci-macro-file.h > @@ -19,7 +19,6 @@ > */ > > /* From qemu/compiler.h */ > -#define QEMU_GNUC_PREREQ(maj, min) 1 > #define QEMU_NORETURN __attribute__ ((__noreturn__)) > #define QEMU_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) > #define QEMU_SENTINEL __attribute__((sentinel)) > ping, thanks --=20 Marc-Andr=C3=A9 Lureau --0000000000005583ba05b6681a42 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi

On Thu, Dec 10, 2020 at 6:07 PM <= ;marcandre.lureau@redhat.com= > wrote:
= From: Marc-Andr=C3=A9 Lureau <marcandre.lureau@redhat.com>

When needed, the G_GNUC_CHECK_VERSION() glib macro can be used instead.

Signed-off-by: Marc-Andr=C3=A9 Lureau <marcandre.lureau@redhat.com>
---
=C2=A0include/qemu/compiler.h=C2=A0 =C2=A0 | 11 -----------
=C2=A0scripts/cocci-macro-file.h |=C2=A0 1 -
=C2=A02 files changed, 12 deletions(-)

diff --git a/include/qemu/compiler.h b/include/qemu/compiler.h
index 5e6cf2c8e8..1b9e58e82b 100644
--- a/include/qemu/compiler.h
+++ b/include/qemu/compiler.h
@@ -11,17 +11,6 @@
=C2=A0#define QEMU_STATIC_ANALYSIS 1
=C2=A0#endif

-/*------------------------------------------------------------------------= ----
-| The macro QEMU_GNUC_PREREQ tests for minimum version of the GNU C compil= er.
-| The code is a copy of SOFTFLOAT_GNUC_PREREQ, see softfloat-macros.h.
-*-------------------------------------------------------------------------= ---*/
-#if defined(__GNUC__) && defined(__GNUC_MINOR__)
-# define QEMU_GNUC_PREREQ(maj, min) \
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0((__GNUC__ << 16) + __GNUC_MINOR__= >=3D ((maj) << 16) + (min))
-#else
-# define QEMU_GNUC_PREREQ(maj, min) 0
-#endif
-
=C2=A0#define QEMU_NORETURN __attribute__ ((__noreturn__))

=C2=A0#define QEMU_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) diff --git a/scripts/cocci-macro-file.h b/scripts/cocci-macro-file.h
index c6bbc05ba3..20eea6b708 100644
--- a/scripts/cocci-macro-file.h
+++ b/scripts/cocci-macro-file.h
@@ -19,7 +19,6 @@
=C2=A0 */

=C2=A0/* From qemu/compiler.h */
-#define QEMU_GNUC_PREREQ(maj, min) 1
=C2=A0#define QEMU_NORETURN __attribute__ ((__noreturn__))
=C2=A0#define QEMU_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) =C2=A0#define QEMU_SENTINEL __attribute__((sentinel))
=
ping, thanks

--
Marc-Andr=C3=A9 Lureau
--0000000000005583ba05b6681a42--