From patchwork Tue Oct 25 11:36:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xiongfeng Wang X-Patchwork-Id: 10718 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp949828wru; Tue, 25 Oct 2022 04:31:15 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7m6eRYOcVjqzK3sgUG5PtiOLUapcbLuxqxOt0IwIq3QExRxRi3Yw1Vzmxw3WipTiPQ/QgN X-Received: by 2002:a63:8ac2:0:b0:460:6480:8c59 with SMTP id y185-20020a638ac2000000b0046064808c59mr32532874pgd.472.1666697474346; Tue, 25 Oct 2022 04:31:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666697474; cv=none; d=google.com; s=arc-20160816; b=MpX15oKLs8QhXWybxArq60zfUsgJ2SYbwgFQo/t/HqAhypFtgoeEnDHs6uHcbAvhej dQT2KgLuiEXSysiMLWmNLtx1lBUOfPS7jLnIELM1Vh/bbZuAQzc8Hderjv0JmbN7z+ei 1qhI695zeHbdwUbgwdVgqdbXBLUDVEX5feTds/jX+pN82T7kqTx1hhWHssp/VM5jGSBk Q8RQ4C7T4iDEoOe+SuFdQiRISyCtecAMteq6C9LI5QmgfRw6R3Pl4iCwu6XExZ0gPKuR vL9HL9Ci7UpdLlNGFLxxXkECVoNoJ2w+ieMetIBbMgKPVpEisqP89BwITSD+GpMq5Ntw V3uA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=sKZPFdLrzf15YfBHxh8lbsKX4cEdVcAiV96UYYq2NQE=; b=KlLjuA+9lOpXtYNKYwDo6ry1+SH1hEzwfxkcqcBBKymcrfPCenO7SQxrsr0jCAN9hD WJ1Il1lsdnUHQDa5Hc0w6wNSA/SMfUrIGYSuVw/3Y3SCGu5jxSIaW9iHWQtGgAFpaFyq xb2WrJbC/06/DTvwZhoEbc3n/Q09JTWAJhOqxccld2JPD8+NNWmBjVE+UfuKD0tqkpYK OejTOa+Idz4493GrACfMALWb0q0U7TUKXymlqrq6muaom2YVc9yYb/SCK04Jln4+Am34 ZPBvOZoOCVKrRWx8flkn960tFo13KYol5i8+ygaL3J/SD9CEfL5TgaglAH18x1BBoDHc JZsw== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p21-20020a63c155000000b0043c8ce98a69si2543100pgi.711.2022.10.25.04.31.00; Tue, 25 Oct 2022 04:31:14 -0700 (PDT) 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 S231852AbiJYLRT (ORCPT + 99 others); Tue, 25 Oct 2022 07:17:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231301AbiJYLRS (ORCPT ); Tue, 25 Oct 2022 07:17:18 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3EA991BEA5; Tue, 25 Oct 2022 04:17:16 -0700 (PDT) Received: from dggpemm500022.china.huawei.com (unknown [172.30.72.55]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4MxTmr3yf9zVj3L; Tue, 25 Oct 2022 19:12:28 +0800 (CST) Received: from dggpemm500002.china.huawei.com (7.185.36.229) by dggpemm500022.china.huawei.com (7.185.36.162) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Tue, 25 Oct 2022 19:17:14 +0800 Received: from localhost.localdomain.localdomain (10.175.113.25) by dggpemm500002.china.huawei.com (7.185.36.229) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Tue, 25 Oct 2022 19:17:13 +0800 From: Xiongfeng Wang To: , , CC: , , , , Subject: [PATCH] ACPICA: add missing macro ACPI_FUNCTION_TRACE() for ns_repair_HID() Date: Tue, 25 Oct 2022 19:36:43 +0800 Message-ID: <20221025113643.79743-1-wangxiongfeng2@huawei.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-Originating-IP: [10.175.113.25] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpemm500002.china.huawei.com (7.185.36.229) 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747658970991849443?= X-GMAIL-MSGID: =?utf-8?q?1747658970991849443?= The following commit add function tracing macros for the namespace repair mechanism. commit 0766efdf9a9d24eaefe260c787f49af225018b16 ACPICA: Add function trace macros to improve debugging But it missed the trace macro for the entry of ns_repair_HID(). Let's add it. Signed-off-by: Xiongfeng Wang --- drivers/acpi/acpica/nsrepair2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/acpi/acpica/nsrepair2.c b/drivers/acpi/acpica/nsrepair2.c index dd533c887e3a..957d7eb4861f 100644 --- a/drivers/acpi/acpica/nsrepair2.c +++ b/drivers/acpi/acpica/nsrepair2.c @@ -499,7 +499,7 @@ acpi_ns_repair_HID(struct acpi_evaluate_info *info, char *source; char *dest; - ACPI_FUNCTION_NAME(ns_repair_HID); + ACPI_FUNCTION_TRACE(ns_repair_HID); /* We only care about string _HID objects (not integers) */