From nobody Sun Feb 8 03:33:09 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) client-ip=207.211.31.81; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1599078388; cv=none; d=zohomail.com; s=zohoarc; b=ZxOX5de8WEkEPdAH2FhCXtfMGgbmlrX6NyBwKNGCDPJGExhF1bC/IlmqJtZoGK3z9lrKRn3V3ulCn6+GRSEqlwHgLC+p031lsK4HiLVeijCYa0p2zZ0ITfkKpRcaHgE02B8n7sgyy3QDOBh3gU6vC4TVvuP4NL02rxeyEgJZg7M= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1599078388; h=Content-Type:Content-Transfer-Encoding:Cc: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=lNXJVH7Wrmkc4fbstvc6LCZ7MnmgxXQma5PfiP/SgrE=; b=ErxREoWirgg2bzHf+a25Y12IW/bEGLladlTSPWdSyoPue6sIlElWKNzwxTsUQPxdZQGxZnJ/BhBB4KMZ7D7fXfDx/rAfPwBdKsP9cqtgmpue2M3FZz7115VVqqEgxYcJLbRLEzMJ8unTv/JOz36b58fhIkVIMkSTJqoPyQqEY4A= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) by mx.zohomail.com with SMTPS id 1599078388576183.06781853630116; Wed, 2 Sep 2020 13:26:28 -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-403-4Ej-waBiOP2zzl80bCKdFw-1; Wed, 02 Sep 2020 16:26:25 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id B0FB98030A9; Wed, 2 Sep 2020 20:26:18 +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 8DD5D78B20; Wed, 2 Sep 2020 20:26:18 +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 58D79183D027; Wed, 2 Sep 2020 20:26:18 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 082KQBSA002860 for ; Wed, 2 Sep 2020 16:26:11 -0400 Received: by smtp.corp.redhat.com (Postfix) id EC29910F26F1; Wed, 2 Sep 2020 20:26:10 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast06.extmail.prod.ext.rdu2.redhat.com [10.11.55.22]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E7CE410F26F0 for ; Wed, 2 Sep 2020 20:26:10 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id D061A18AE94A for ; Wed, 2 Sep 2020 20:26:10 +0000 (UTC) Received: from mail-qt1-f195.google.com (mail-qt1-f195.google.com [209.85.160.195]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-20-vQ7M_g8SOPeb8sLphVfrww-1; Wed, 02 Sep 2020 16:26:08 -0400 Received: by mail-qt1-f195.google.com with SMTP id z2so188321qtv.12 for ; Wed, 02 Sep 2020 13:26:08 -0700 (PDT) Received: from rekt.ibmuc.com ([2804:431:c7c7:d5bb:61e:5265:e62b:1233]) by smtp.gmail.com with ESMTPSA id b187sm547176qkd.107.2020.09.02.13.26.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Sep 2020 13:26:07 -0700 (PDT) X-MC-Unique: 4Ej-waBiOP2zzl80bCKdFw-1 X-MC-Unique: vQ7M_g8SOPeb8sLphVfrww-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lNXJVH7Wrmkc4fbstvc6LCZ7MnmgxXQma5PfiP/SgrE=; b=ftN3X3EYlsYmYnkvPE+AWSaDTJX+loUpejrSZcm8zYwKsPgDRiePe2o/tiLPKfgzyl 33qQnduXHLVznvChngHLEt6eEdcaXHjGvAhsc4TTBwvKVNPUNl4XTL1pF/bHyXWkLEGl DAizgmECSAygtKUSdzk0ZcRHdDSSkK8/6r5Qtm9ohEsYf96SWx2vcAut5z6w569Forz7 6bs+wV7zVaw1S+2LYU5sukbAL30A0KyHMCn5dtc3HaoKsacim7UGQ4eJqvYLfGrtiJUT rme1a1sB6Orh+kYkLb+e8q32wITbkB5OsOLSRKCXX01F0MZgwBvJ4olIUQ08C8X8dDmi V7WA== X-Gm-Message-State: AOAM5314W80m3Jn3fEwl7wD2QezQ5A0t8Qncsuxk8BHLf2wplyO7DwaY VLUjGBtmry8qJ+uvCveDFXeNe2Wn5LV0dw== X-Google-Smtp-Source: ABdhPJx+PFf2Gwtm4tC3+evRrm5zdjLUdoqdXw0SHAX++8tcUBUkCRI896Nv29o0Z3f8gl6GHroh0g== X-Received: by 2002:ac8:7b2e:: with SMTP id l14mr38997qtu.38.1599078367584; Wed, 02 Sep 2020 13:26:07 -0700 (PDT) From: Daniel Henrique Barboza To: libvir-list@redhat.com Subject: [PATCH 08/12] cpu_ppc64.c: register AUTOPTR_CLEANUP_FUNC for virCPUppc64MapPtr Date: Wed, 2 Sep 2020 17:25:42 -0300 Message-Id: <20200902202546.483726-9-danielhb413@gmail.com> In-Reply-To: <20200902202546.483726-1-danielhb413@gmail.com> References: <20200902202546.483726-1-danielhb413@gmail.com> MIME-Version: 1.0 X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false; X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-loop: libvir-list@redhat.com Cc: Daniel Henrique Barboza 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.15 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0.002 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Next patch will use g_autoptr() in virCPUppc64MapPtr pointers for some cleanups. Signed-off-by: Daniel Henrique Barboza Reviewed-by: J=C3=A1n Tomko --- src/cpu/cpu_ppc64.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cpu/cpu_ppc64.c b/src/cpu/cpu_ppc64.c index 261fe3dbe6..607b5bc322 100644 --- a/src/cpu/cpu_ppc64.c +++ b/src/cpu/cpu_ppc64.c @@ -273,6 +273,7 @@ ppc64MapFree(virCPUppc64MapPtr map) =20 VIR_FREE(map); } +G_DEFINE_AUTOPTR_CLEANUP_FUNC(virCPUppc64Map, ppc64MapFree); =20 static int ppc64VendorParse(xmlXPathContextPtr ctxt G_GNUC_UNUSED, --=20 2.26.2