Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp7812980rwb; Wed, 23 Nov 2022 11:04:30 -0800 (PST) X-Google-Smtp-Source: AA0mqf7PPu/5m4bcilc2oynmSKhTNudWNMcMNgvzE8+rFSl0ML/DfNm4texedWsGiFl1jLjd8Km4 X-Received: by 2002:a17:906:3a10:b0:7a4:22c4:ade7 with SMTP id z16-20020a1709063a1000b007a422c4ade7mr25515074eje.722.1669230270111; Wed, 23 Nov 2022 11:04:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669230270; cv=none; d=google.com; s=arc-20160816; b=cZoY/cVk6OapCt4I0OjqKSk85twnG18tnAljJ1d45yzzdTGFkigWUh2ip0iIEKCFG5 LKRN76P2w3+Ni70HpVEvY3NXJHI59CsGNUovoUsd+Pkn080qAck7+Tnjm8+dcz4bSDvW /f315FFMvLnUmR9X7gwvVsPPROaiARyMW7yAqWRNbQXyeZYrFUP3cKuHE44LJ0DcfvuO TLhgIeZC6G4GzJd7e2ZkDTkQgYNBIML/jxz5oSBb/ro8fZzKzRkBprzMqFOm82/vq9e+ YezNCwgf/Copr+Gom9bLx6Mw3T62P0veE5OwoUueRW728HjSo3bcZSnTvlJwoH02BQ3a 2Wzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=5aEILFREgMjioCoopFHYCy4vYqbtsoJQrV29gVAwV1c=; b=OVsHutuTz7CwZkrQG6JKN7nYiJcS1E+GzwqwankGVtupXLrFZBJyHkgUgOPgWNwgx+ gNeIZ3eFs/EgmPOuZ4oSQg/HX1Na7wamyDqP0THNNEgUPki4udDqMHYMP7AOd1tbo5wO Sy3lTj0QP5/N2zPjkwQkXI3B9mw6SU+T7Jv2lF3Kx5UKVyUfKO/ldsxjysFDssCSUjX4 vD+UaUQ2+uClhIs+KQ6JUWcb+sj5rtR/KmBOg8OX9LBt3BDEq2RMkp9AgLTcYNoPFj0g k9w77u+Rk/8XagXBaKj95A0ViID7Iu8/Pa3bY16JQx6h05tbZbveOZiwY6f3BsoUsmFG hfrg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sb1-20020a1709076d8100b007af0bc6e10asi16564699ejc.213.2022.11.23.11.04.02; Wed, 23 Nov 2022 11:04:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239728AbiKWSbH (ORCPT + 88 others); Wed, 23 Nov 2022 13:31:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237376AbiKWSao (ORCPT ); Wed, 23 Nov 2022 13:30:44 -0500 Received: from mail-qt1-f175.google.com (mail-qt1-f175.google.com [209.85.160.175]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A620958BD1; Wed, 23 Nov 2022 10:30:37 -0800 (PST) Received: by mail-qt1-f175.google.com with SMTP id s4so11790073qtx.6; Wed, 23 Nov 2022 10:30:37 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=5aEILFREgMjioCoopFHYCy4vYqbtsoJQrV29gVAwV1c=; b=5/dV6aKaJtmylSxqr2+Yj0UTbIMsGSyQs3t9FjO8XiDV97cDABPM4mYVOgaXSfcHnx DntkgtI2cIa+u1nbo29rlFaWejQZO6D8Zni8N+zJ0vF+QsTxiZi0Iiao5l1fKUh5SLhh nHgf3a2oudV8y1HjUCSZqcIevKhdtBODPLC2TUhF9xyS2RPB9m9adK02AzaDVyn4KPzn Hu3YnBG0jXvV9sKsldiQHohEL+pyTqg03AyfEPFB5Z4mnnzLU3mzDIEh9jyioUkAbTY3 tVoub20plgTYfDSoEhmic072JcC2RqjM0gSPJ/PVEU9i56O0sH6hhbAgCTSQtsfUcc1k iZGA== X-Gm-Message-State: ANoB5pka6cJg2VEjPcMNw8IWpyPQEbXS+DqUkdfns0Rs6xi9MgXU8iIm IoQgVoNZXq2yYk5cBO9DmvKEPaCESeFzGgISucQ= X-Received: by 2002:ac8:60d3:0:b0:3a5:4678:5b24 with SMTP id i19-20020ac860d3000000b003a546785b24mr27445699qtm.411.1669228236813; Wed, 23 Nov 2022 10:30:36 -0800 (PST) MIME-Version: 1.0 References: <20221118063219.2612473-1-bobo.shaobowang@huawei.com> In-Reply-To: <20221118063219.2612473-1-bobo.shaobowang@huawei.com> From: "Rafael J. Wysocki" Date: Wed, 23 Nov 2022 19:30:25 +0100 Message-ID: Subject: Re: [PATCH 0/2] change to use ACPI_FREE() to free the ACPI memory To: Wang ShaoBo Cc: rafael.j.wysocki@intel.com, rafael@kernel.org, lenb@kernel.org, yu.c.chen@intel.com, linux-acpi@vger.kernel.org, guohanjun@huawei.com, liwei391@huawei.com, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 18, 2022 at 7:33 AM Wang ShaoBo wrote: > > acpi_evaluate_dsm_typed()/acpi_evaluate_dsm() should be coupled with > ACPI_FREE() to free the ACPI memory, because we need to track the > allocation of acpi_object when ACPI_DBG_TRACK_ALLOCATIONS enabled, > so use ACPI_FREE() instead of kfree(). > > Wang ShaoBo (2): > ACPI: pfr_telemetry: use ACPI_FREE() to free acpi_object > ACPI: pfr_update: use ACPI_FREE() to free acpi_object > > drivers/acpi/pfr_telemetry.c | 6 +++--- > drivers/acpi/pfr_update.c | 6 +++--- > 2 files changed, 6 insertions(+), 6 deletions(-) > > -- Both applied as 6.2 material, thanks!