2022-08-11 16:13:26

by Shaomin Deng

[permalink] [raw]
Subject: [PATCH] ACPICA: Fix typo in comments

Delete the repeated word "method" in comments.

Signed-off-by: Shaomin Deng <[email protected]>
---
drivers/acpi/acpica/psparse.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/acpi/acpica/psparse.c b/drivers/acpi/acpica/psparse.c
index ba93f359760a..b0faab1e6d3f 100644
--- a/drivers/acpi/acpica/psparse.c
+++ b/drivers/acpi/acpica/psparse.c
@@ -508,7 +508,7 @@ acpi_status acpi_ps_parse_aml(struct acpi_walk_state *walk_state)
}

/*
- * If the transfer to the new method method call worked,
+ * If the transfer to the new method call worked,
* a new walk state was created -- get it
*/
walk_state = acpi_ds_get_current_walk_state(thread);
--
2.35.1


2022-08-11 17:17:30

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: [PATCH] ACPICA: Fix typo in comments

On Thu, Aug 11, 2022 at 5:53 PM Shaomin Deng <[email protected]> wrote:
>
> Delete the repeated word "method" in comments.
>
> Signed-off-by: Shaomin Deng <[email protected]>

Please note that the ACPICA changes need to be submitted to the
upstream ACPICA project on github. If your change is applicable to
that code base, please consider submitting a pull request for it on
github.

> ---
> drivers/acpi/acpica/psparse.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/acpi/acpica/psparse.c b/drivers/acpi/acpica/psparse.c
> index ba93f359760a..b0faab1e6d3f 100644
> --- a/drivers/acpi/acpica/psparse.c
> +++ b/drivers/acpi/acpica/psparse.c
> @@ -508,7 +508,7 @@ acpi_status acpi_ps_parse_aml(struct acpi_walk_state *walk_state)
> }
>
> /*
> - * If the transfer to the new method method call worked,
> + * If the transfer to the new method call worked,
> * a new walk state was created -- get it
> */
> walk_state = acpi_ds_get_current_walk_state(thread);
> --
> 2.35.1
>