From nobody Mon Feb 9 09:35:59 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.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 216.205.24.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=1617183293; cv=none; d=zohomail.com; s=zohoarc; b=QBBeENwrRFL2TJWE04mrOsHPbtMH6lHjjs2UgeXjanZ8Ams4OSyZE81g0S9Rwty9MH+NnwKMnPVOZPzZ7TG6nqZL2T2I/abFDQ0cim1vrja6nS4s9varOgeS69gR65dkGLRwJm3ej2vn+d9CT2YXGm+bE0vg19Yy9dC40ixWUbA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1617183293; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=ksVsx+n32m9uWwVYzkfPa/JehKpK1KQ7Ozt74gpuxwg=; b=J2itWHv0MpKjK1paCD4XxeIdGTAvEAa6It5RMqGJOepk+X2qp1APeulBza6oZzp7pMIZpDp2fcFrriL4jlm5NsEKUJUAWUsW7mcheazph86lr+bGiM2e2urjQmrzyUittNxgJIb7C65K3vR31FfNb6KAknZFdn4NwdIuSksvxmg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1617183293278635.1416667689978; Wed, 31 Mar 2021 02:34:53 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-137-Pnoc0ZcgMF-TO0E5ZqIlHg-1; Wed, 31 Mar 2021 05:34:49 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 178715B365; Wed, 31 Mar 2021 09:34:42 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id CD484A8446; Wed, 31 Mar 2021 09:34:41 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 870121809C84; Wed, 31 Mar 2021 09:34:38 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 12V9Yaac005095 for ; Wed, 31 Mar 2021 05:34:36 -0400 Received: by smtp.corp.redhat.com (Postfix) id 7988C19C59; Wed, 31 Mar 2021 09:34:36 +0000 (UTC) Received: from speedmetal.redhat.com (unknown [10.40.208.33]) by smtp.corp.redhat.com (Postfix) with ESMTP id CA3B919C44 for ; Wed, 31 Mar 2021 09:34:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1617183292; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=ksVsx+n32m9uWwVYzkfPa/JehKpK1KQ7Ozt74gpuxwg=; b=KeMDka6Q1yt8FJob+3LvlV3MfWd1DnEeS8vl64UOkbHBUkuul+t/kvhm2aqX7DPlqZa2E/ FXj4aQpzWNbbZy1dnFezy1U/d5HS4jWh6knTPx8mSYw46Z6JRzQHqlffgAMWamlUnrwOWd IX9IC5JwE+DGBl/Jt7aCCA2r6xq8S/g= X-MC-Unique: Pnoc0ZcgMF-TO0E5ZqIlHg-1 From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 2/6] syntax-check: Clean up check for g_auto* Date: Wed, 31 Mar 2021 11:34:25 +0200 Message-Id: <741775f23315ce395a39ebdebc041281372b3726.1617183249.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 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-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Remove the old libvirt variants that are no longer in use and include g_autostringlist. Signed-off-by: Peter Krempa --- build-aux/syntax-check.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-aux/syntax-check.mk b/build-aux/syntax-check.mk index 1dac418008..b03441d4cd 100644 --- a/build-aux/syntax-check.mk +++ b/build-aux/syntax-check.mk @@ -1115,7 +1115,7 @@ sc_prohibit_backslash_alignment: # Rule to ensure that variables declared using a cleanup macro are # always initialized. sc_require_attribute_cleanup_initialization: - @prohibit=3D'((g_auto(ptr|free)?)|(VIR_AUTO((FREE|PTR|UNREF|CLEAN)\(.+\)|= CLOSE|STRINGLIST))) *[^=3D]+;' \ + @prohibit=3D'((g_auto(ptr|free|slist)?)|VIR_AUTOCLOSE)) *[^=3D]+;' \ in_vc_files=3D'\.[chx]$$' \ halt=3D'variable declared with a cleanup macro must be initialized' \ $(_sc_search_regexp) --=20 2.29.2