Re: [PATCH] acpi/acpica: fix repeated words in comments

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>

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





[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux