mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] acpi/acpica: fix repeated words in comments
@ 2022-07-10  4:52 Jilin Yuan
  2022-07-13 16:55 ` Rafael J. Wysocki
  0 siblings, 1 reply; 2+ messages in thread
From: Jilin Yuan @ 2022-07-10  4:52 UTC (permalink / raw)
  To: robert.moore, rafael.j.wysocki, lenb
  Cc: linux-acpi, devel, linux-kernel, Jilin Yuan

 Delete the redundant word 'is'.
 Delete the redundant word 'a'.

Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
---
 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) {
-- 
2.36.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] acpi/acpica: fix repeated words in comments
  2022-07-10  4:52 [PATCH] acpi/acpica: fix repeated words in comments Jilin Yuan
@ 2022-07-13 16:55 ` Rafael J. Wysocki
  0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2022-07-13 16:55 UTC (permalink / raw)
  To: Jilin Yuan, robert.moore, lenb; +Cc: linux-acpi, devel, linux-kernel

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) {



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-07-13 16:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-10  4:52 [PATCH] acpi/acpica: fix repeated words in comments Jilin Yuan
2022-07-13 16:55 ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®