public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [patch 1/2] acpica: fix acpi_ex_release_mutex() comment
@ 2010-03-11 21:59 akpm
  2010-03-12 20:19 ` Moore, Robert
  0 siblings, 1 reply; 2+ messages in thread
From: akpm @ 2010-03-11 21:59 UTC (permalink / raw)
  To: lenb; +Cc: linux-acpi, akpm, bzolnier, error27, ming.m.lin, robert.moore

From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>

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

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Cc: Len Brown <lenb@kernel.org>
Cc: Lin Ming <ming.m.lin@intel.com>
Cc: Bob Moore <robert.moore@intel.com>
Cc: Dan Carpenter <error27@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 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
@@ -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",
_

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

* RE: [patch 1/2] acpica: fix acpi_ex_release_mutex() comment
  2010-03-11 21:59 [patch 1/2] acpica: fix acpi_ex_release_mutex() comment akpm
@ 2010-03-12 20:19 ` Moore, Robert
  0 siblings, 0 replies; 2+ messages in thread
From: Moore, Robert @ 2010-03-12 20:19 UTC (permalink / raw)
  To: akpm@linux-foundation.org, lenb@kernel.org
  Cc: linux-acpi@vger.kernel.org, bzolnier@gmail.com, error27@gmail.com,
	Lin, Ming M

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


>-----Original Message-----
>From: akpm@linux-foundation.org [mailto:akpm@linux-foundation.org]
>Sent: Thursday, March 11, 2010 1:59 PM
>To: lenb@kernel.org
>Cc: linux-acpi@vger.kernel.org; akpm@linux-foundation.org;
>bzolnier@gmail.com; error27@gmail.com; Lin, Ming M; Moore, Robert
>Subject: [patch 1/2] acpica: fix acpi_ex_release_mutex() comment
>
>From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
>
>trivial, leftover from my NULL pointer dereference patch which got
>'superseded' by commit fbc3be2
>
>Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
>Cc: Len Brown <lenb@kernel.org>
>Cc: Lin Ming <ming.m.lin@intel.com>
>Cc: Bob Moore <robert.moore@intel.com>
>Cc: Dan Carpenter <error27@gmail.com>
>Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
>---
>
> 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
>@@ -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",
>_

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

end of thread, other threads:[~2010-03-12 20:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-11 21:59 [patch 1/2] acpica: fix acpi_ex_release_mutex() comment akpm
2010-03-12 20:19 ` Moore, Robert

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