acpica: fix acpi_ex_release_mutex() comment
Subsystems (2)
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
@@ -234,8 +234,7 @@ acpi_ex_acquire_mutex(union acpi_operandreturn_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",
_
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: fixacpi_ex_release_mutex()commentFrom: Bartlomiej Zolnierkiewicz <[email protected]>
trivial, leftover from my NULL pointer dereference patch which got 'superseded' by commit fbc3be2
Signed-off-by Bartlomiej Zolnierkiewicz <[email protected]>Cc Len Brown <[email protected]>Cc Lin Ming <[email protected]>Cc Bob Moore <[email protected]>Cc Dan Carpenter <[email protected]>Signed-off-by Andrew Morton <[email protected]>---
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-commentdrivers/acpi/acpica/exmutex.c
--- a/drivers/acpi/acpica/exmutex.c~acpica-fix-acpi_ex_release_mutex- comment
+++a/drivers/acpi/acpica/exmutex.cdrivers/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_operandreturn_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",_