From nobody Sun May 12 18:47:05 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1653395546; cv=none; d=zohomail.com; s=zohoarc; b=J2UHS2uUI4j0u9kjnTSEZmeMq0ehECVPBSN+C+5wV187emoFhkWVevDpncadWoBXkLDY0uTpjviuwdBBpjWQcUxa61kLMWMCOiTx/X+oDX0du7NTStIvYper7MlNgsOYS/WsxDFZOIB8n+pQrHB5mQ6fkyxVORY7UAw6ajZ4N/0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1653395546; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=PALvwtNlJnYfpgmnAQnPpoWQ5XrJ7TJXRDuOIozVZH0=; b=PHxo/FTEqlz6xEulWf51H2FAVm704z2fbrpZzQBXwu+EEdnZvjGfUtSRhutlMqQLHxCG3JE1V1eO+2fH7+R6DEl5E6MGOpJ7J+SV8dm5iJ1X2+oXUtt/D5gGKYi8Kx15KFY2sQm1mzqocsQe52+Q40gLwsO6Acyj4q3MQ+n8FK0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 1653395546442252.5365542131658; Tue, 24 May 2022 05:32:26 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-251-c3AEpt8pO3WDA6hCTrSwRg-1; Tue, 24 May 2022 08:32:23 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 614D6804197; Tue, 24 May 2022 12:32:21 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4C54B1121315; Tue, 24 May 2022 12:32:21 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 28809194E104; Tue, 24 May 2022 12:32:21 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 51638194E103 for ; Tue, 24 May 2022 12:32:20 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 2DB7B492C3B; Tue, 24 May 2022 12:32:20 +0000 (UTC) Received: from localhost.localdomain.com (unknown [10.33.36.159]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6739F492CA2; Tue, 24 May 2022 12:32:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1653395545; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=PALvwtNlJnYfpgmnAQnPpoWQ5XrJ7TJXRDuOIozVZH0=; b=J9E1LJstPly1d9/mxDwiBHV42yBls8Dm/9L6hTfN3155U//kox++xQI/KsCu1biygE8e9D 78r3YkzcZSrHiNmbYIMfuHw2SYsqRPLVo/qzJ9Y7K0Jy1VR/JmfAy6zIN73pE2hH7XtS3Y rTnUnHqZ4L8ACOs2fv6EpjcCz4HqWM0= X-MC-Unique: c3AEpt8pO3WDA6hCTrSwRg-1 X-Original-To: libvir-list@listman.corp.redhat.com From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [PATCH] build-aux: remove syntax checks for ATTRIBUTE_* and ARRAY_CARDINALITY Date: Tue, 24 May 2022 13:32:16 +0100 Message-Id: <20220524123216.172560-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.9 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1653395548250100001 These checks made sense when we were in process of converting code. Since the definition of the macros has been entirely removed now, the compiler will already thrown an error. There aren't likely to be any in-flight patches that would hit this anyone either. Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: Michal Privoznik --- build-aux/syntax-check.mk | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/build-aux/syntax-check.mk b/build-aux/syntax-check.mk index 09e7a014a3..e4c142dfd0 100644 --- a/build-aux/syntax-check.mk +++ b/build-aux/syntax-check.mk @@ -338,18 +338,6 @@ sc_avoid_g_gnuc_unused_in_header: halt=3D'use G_GNUC_UNUSED in .c rather than .h files' \ $(_sc_search_regexp) =20 -sc_prohibit_attribute_macros: - @prohibit=3D'ATTRIBUTE_(UNUSED|NORETURN|SENTINEL|RETURN_CHECK|NOINLINE|FM= T_PRINTF|FALLTHROUGH)' \ - in_vc_files=3D'\.[ch]$$' \ - halt=3D'use GLib macros: G_GNUC_ for most' \ - $(_sc_search_regexp) - -sc_prohibit_non_glib_macros: - @prohibit=3D'ARRAY_CARDINALITY' \ - in_vc_files=3D'\.[ch]$$' \ - halt=3D'use GLib macros: G_N_ELEMENTS' \ - $(_sc_search_regexp) - sc_prohibit_int_index: @prohibit=3D'\<(int|unsigned)\s*\*?index\>(\s|,|;)' \ halt=3D'use different name than 'index' for declaration' \ --=20 2.36.1