Skip to contentSkip to conversation

acpica: fix acpi_ex_release_mutex() comment

PATCH Applied [email protected] 2 participants 2 messages Mar 11, 2010 – Mar 12, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 acpica: fix acpi_ex_release_mutex() comment

From: Bartlomiej Zolnierkiewicz <[email protected]>

trivial, leftover from my NULL pointer dereference patch which got 'superseded' by commit fbc3be2

---

 drivers/acpi/acpica/exmutex.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/acpi/acpica/exmutex.c renamed from drivers/acpi/acpica/exmutex.c~acpica-fix-acpi_ex_release_mutex-comment +1 -2
diff -puN drivers/acpi/acpica/exmutex.c~acpica-fix-acpi_ex_release_mutex-comment drivers/acpi/acpica/exmutex.c
@@ -234,8 +234,7 @@ acpi_ex_acquire_mutex(union acpi_operand
 		return_ACPI_STATUS(AE_BAD_PARAMETER);
 	}
 
-	/* Must have a valid thread ID */
-
+	/* Must have a valid thread. */
 	if (!walk_state->thread) {
 		ACPI_ERROR((AE_INFO,
 			    "Cannot acquire Mutex [%4.4s], null thread info",

_

#1 lore raw

I just added this to the base ACPICA code, no need for this patch Bob

Quoted 40 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Thursday, March 11, 2010 1:59 PM
To: [email protected]
Cc: [email protected]; [email protected]; [email protected]; [email protected]; Lin, Ming M; Moore, Robert
Subject: [patch 1/2] acpica: fix acpi_ex_release_mutex() comment

From: Bartlomiej Zolnierkiewicz <[email protected]>

trivial, leftover from my NULL pointer dereference patch which got 'superseded' by commit fbc3be2

---

drivers/acpi/acpica/exmutex.c | 3 +--

1 file changed, 1 insertion(+), 2 deletions(-)

diff -puN drivers/acpi/acpica/exmutex.c~acpica-fix-acpi_ex_release_mutex- comment drivers/acpi/acpica/exmutex.c
--- a/drivers/acpi/acpica/exmutex.c~acpica-fix-acpi_ex_release_mutex- comment
+++ a/drivers/acpi/acpica/exmutex.c

drivers/acpi/acpica/exmutex.c renamed from drivers/acpi/acpica/exmutex.c~acpica-fix-acpi_ex_release_mutex-comment +1 -2
@@ -234,8 +234,7 @@ acpi_ex_acquire_mutex(union acpi_operand
 		return_ACPI_STATUS(AE_BAD_PARAMETER);
 	}
 
-	/* Must have a valid thread ID */
-
+	/* Must have a valid thread. */
 	if (!walk_state->thread) {
 		ACPI_ERROR((AE_INFO,
 			    "Cannot acquire Mutex [%4.4s], null thread info",

_