2022-10-25 11:31:42

by Xiongfeng Wang

[permalink] [raw]
Subject: [PATCH] ACPICA: add missing macro ACPI_FUNCTION_TRACE() for ns_repair_HID()

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 <[email protected]>
---
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) */

--
2.20.1



2022-10-25 12:43:45

by Sudeep Holla

[permalink] [raw]
Subject: Re: [PATCH] ACPICA: add missing macro ACPI_FUNCTION_TRACE() for ns_repair_HID()

Hi Xiongfeng,

On Tue, Oct 25, 2022 at 07:36:43PM +0800, Xiongfeng Wang wrote:
> 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.
>

Generally all ACPICA changes need to be submitted to the upstream project
via GitHub at https://github.com/acpica/acpica. It will be imported to the
Linux project from there.

--
Regards,
Sudeep

2022-10-26 01:44:38

by Xiongfeng Wang

[permalink] [raw]
Subject: Re: [PATCH] ACPICA: add missing macro ACPI_FUNCTION_TRACE() for ns_repair_HID()

Hi Sudeep,

On 2022/10/25 20:38, Sudeep Holla wrote:
> Hi Xiongfeng,
>
> On Tue, Oct 25, 2022 at 07:36:43PM +0800, Xiongfeng Wang wrote:
>> 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.
>>
>
> Generally all ACPICA changes need to be submitted to the upstream project
> via GitHub at https://github.com/acpica/acpica. It will be imported to the
> Linux project from there.

Thanks for your reply! I will submit it the ACPICA project on GitHub.

Thanks,
Xiongfeng

>