Skip to contentSkip to conversation

ACPICA: cleanup double word in comment

PATCH Superseded [email protected] 2 participants 3 messages Jan 31, 2022

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ACPICA: cleanup double word in comment

From: Tom Rix <[email protected]>

Remove the second 'know'.

---
 drivers/acpi/acpica/exfldio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/acpi/acpica/exfldio.c +1 -1
index bdc7a30d1217c..b92605df3872c 100644
@@ -104,7 +104,7 @@ acpi_ex_setup_region(union acpi_operand_object *obj_desc,
 #ifdef ACPI_UNDER_DEVELOPMENT
 	/*
 	 * If the Field access is any_acc, we can now compute the optimal
-	 * access (because we know know the length of the parent region)
+	 * access (because we know the length of the parent region)
 	 */
 	if (!(obj_desc->common.flags & AOPOBJ_DATA_VALID)) {
 		if (ACPI_FAILURE(status)) {
Signature · 1 line
2.26.3
#1 lore raw
Quoted 6 lines · On Mon, Jan 31, 2022 at 2:33 PM <trix(a)redhat.com> wrote:

From: Tom Rix <trix(a)redhat.com>

Remove the second 'know'.

Signed-off-by Tom Rix <trix(a)redhat.com>

This is ACPICA material, so it needs to be submitted to the upstream project via https://github.com/acpica/acpica/

Also, it would be good to combine all of the analogous changes in one patch.

Quoted 20 lines
---
 drivers/acpi/acpica/exfldio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/acpi/acpica/exfldio.c +1 -2
index bdc7a30d1217c..b92605df3872c 100644
@@ -104,7 +104,7 @@ acpi_ex_setup_region(union acpi_operand_object *obj_desc,
 #ifdef ACPI_UNDER_DEVELOPMENT
        /*
         * If the Field access is any_acc, we can now compute the optimal
-        * access (because we know know the length of the parent region)
+        * access (because we know the length of the parent region)
         */
        if (!(obj_desc->common.flags & AOPOBJ_DATA_VALID)) {
                if (ACPI_FAILURE(status)) {
--

2.26.3

author
#2 lore raw
Quoted 10 lines · Rafael J. Wysocki
Quoted 5 lines · On Mon, Jan 31, 2022 at 2:33 PM <[email protected]> wrote:

From: Tom Rix <[email protected]>

Remove the second 'know'.

This is ACPICA material, so it needs to be submitted to the upstream project via https://github.com/acpica/acpica/

Also, it would be good to combine all of the analogous changes in one patch.

I am not sure if this is the last one for acpica, the finder script is very slow.

I will wait a bit and combine these in a day or two.

And take care of the other repo.

Tom

Quoted 21 lines
Quoted 21 lines
---
  drivers/acpi/acpica/exfldio.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/acpi/acpica/exfldio.c +1 -2
index bdc7a30d1217c..b92605df3872c 100644
@@ -104,7 +104,7 @@ acpi_ex_setup_region(union acpi_operand_object *obj_desc,
  #ifdef ACPI_UNDER_DEVELOPMENT
         /*
          * If the Field access is any_acc, we can now compute the optimal
-        * access (because we know know the length of the parent region)
+        * access (because we know the length of the parent region)
          */
         if (!(obj_desc->common.flags & AOPOBJ_DATA_VALID)) {
                 if (ACPI_FAILURE(status)) {
--

2.26.3