[PATCH] ACPICA: Fix typo in comments

Shaomin Deng posted 1 patch 3 years, 8 months ago
drivers/acpi/acpica/psparse.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] ACPICA: Fix typo in comments
Posted by Shaomin Deng 3 years, 8 months ago
Delete the repeated word "method" in comments.

Signed-off-by: Shaomin Deng <dengshaomin@cdjrlc.com>
---
 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
Re: [PATCH] ACPICA: Fix typo in comments
Posted by Rafael J. Wysocki 3 years, 8 months ago
On Thu, Aug 11, 2022 at 5:53 PM Shaomin Deng <dengshaomin@cdjrlc.com> wrote:
>
> Delete the repeated word "method" in comments.
>
> Signed-off-by: Shaomin Deng <dengshaomin@cdjrlc.com>

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
>