lkml.org 
[lkml]   [2022]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] acpi/acpica: fix repeated words in comments
From
On 7/10/2022 6:52 AM, Jilin Yuan wrote:
> Delete the redundant word 'is'.
> Delete the redundant word 'a'.
>
> Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>

Please note that proposed ACPICA changes need to be submitted to the
upstream ACPICA project on github.

If your change proposal is suitable for that code base, please submit a
pull request for it in there.


> ---
> drivers/acpi/acpica/exconvrt.c | 2 +-
> drivers/acpi/acpica/nsprepkg.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/acpi/acpica/exconvrt.c b/drivers/acpi/acpica/exconvrt.c
> index 8de5d47ad485..7a66a70fa974 100644
> --- a/drivers/acpi/acpica/exconvrt.c
> +++ b/drivers/acpi/acpica/exconvrt.c
> @@ -446,7 +446,7 @@ acpi_ex_convert_to_string(union acpi_operand_object * obj_desc,
> * Explicit conversion from the to_decimal_string ASL operator.
> *
> * From ACPI: "If the input is a buffer, it is converted to a
> - * a string of decimal values separated by commas."
> + * string of decimal values separated by commas."
> */
> base = 10;
>
> diff --git a/drivers/acpi/acpica/nsprepkg.c b/drivers/acpi/acpica/nsprepkg.c
> index 82932c9a774b..2afc5baa325c 100644
> --- a/drivers/acpi/acpica/nsprepkg.c
> +++ b/drivers/acpi/acpica/nsprepkg.c
> @@ -540,7 +540,7 @@ acpi_ns_check_package_list(struct acpi_evaluate_info *info,
>
> /*
> * Make sure package is large enough for the Count and is
> - * is as large as the minimum size
> + * as large as the minimum size
> */
> expected_count = (u32)(*sub_elements)->integer.value;
> if (sub_package->package.count < expected_count) {


\
 
 \ /
  Last update: 2022-07-13 18:57    [W:0.042 / U:1.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site