Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp157779rwb; Thu, 17 Nov 2022 22:39:58 -0800 (PST) X-Google-Smtp-Source: AA0mqf5cYOyBo2tLdDOvV+c8F+cSRVk5HzFt+98fGzMcLL3G68m2stE5DxAyWRJBwIBqfO5HCyko X-Received: by 2002:a17:906:4cc1:b0:7ae:50c6:fd0a with SMTP id q1-20020a1709064cc100b007ae50c6fd0amr4729417ejt.184.1668753598605; Thu, 17 Nov 2022 22:39:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668753598; cv=none; d=google.com; s=arc-20160816; b=uRTE9ldW668bVEufbrlL+vx6qSDyTaXM17O9KDCV86Hg2kPMOWH9NjNBzGJ3ZGzLzd osQlVsT4u1AKE7hVkfJETjm6boc/cbMLwfoYNYT5+cq26OkRQWwojIZBRrz4f3oQvxlh P78JXk2RfaHVk2n2s2KDO4KLQv0UQ0/IOwZbwVra26WuuFFtiNHCjLNWHHHpdPF/0DCW xoIvh12ctHNJT83LpWnhz9m0Mn5GgBFWKJut8vxAmo/hWGiaGzGEAzzFGWmG4uOzaV3z rDnHHtkU7KkghGOw/rkV2HyF0T+2CAcUlvLEAUD+hIELK2XHVabnnaYk4smUmcOdBR4z v5Ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :message-id:date:subject:cc:from; bh=i8yCxk0lTwNHjOBYIODv7TOYagSKDFw57jQ/YNBYCcs=; b=F34gQSALmf5EUmEqs4Dlogqg1G8mWWGlt98EmfrdDsJEvINI7/1UKPW4dWBy9j6rlA VSCOwiEpvTBYJQ7akF0z6xq3t0/Xl+VVLKxUBdexn/V8CPaFD1Ts4y9XD7cCu6ockY7N sUKEKs5ot2Wq8fovy7172623iXXDPhv7yymZTF2zAWjmn+g3fnNN6a0poeOosiZHB6sC dPDz7JzISR6ZU6uHYrpffcIgi2qrsCwzEjfIc0cfHDU9z1r/+PkfUQr7hDZUBtYyaB2L HNuMreioEvVKN0rb5nEyn+5kFFI8eGR1y4eV224NacgbUuAJnGoCJIMPN8k8REYADhAA URqg== 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s6-20020a170906bc4600b007add164bc81si1871540ejv.222.2022.11.17.22.39.34; Thu, 17 Nov 2022 22:39:58 -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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240803AbiKRGd6 (ORCPT + 93 others); Fri, 18 Nov 2022 01:33:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229743AbiKRGdz (ORCPT ); Fri, 18 Nov 2022 01:33:55 -0500 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D96CC6455C; Thu, 17 Nov 2022 22:33:54 -0800 (PST) Received: from dggpemm500020.china.huawei.com (unknown [172.30.72.54]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4ND6Rr2c5LzmW2Z; Fri, 18 Nov 2022 14:33:28 +0800 (CST) Received: from dggpemm500015.china.huawei.com (7.185.36.181) by dggpemm500020.china.huawei.com (7.185.36.49) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Fri, 18 Nov 2022 14:33:53 +0800 Received: from huawei.com (10.175.103.91) by dggpemm500015.china.huawei.com (7.185.36.181) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Fri, 18 Nov 2022 14:33:52 +0800 From: Wang ShaoBo CC: , , , , , , , Subject: [PATCH 0/2] change to use ACPI_FREE() to free the ACPI memory Date: Fri, 18 Nov 2022 14:32:17 +0800 Message-ID: <20221118063219.2612473-1-bobo.shaobowang@huawei.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.103.91] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To dggpemm500015.china.huawei.com (7.185.36.181) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 2.25.1