lkml.org 
[lkml]   [2011]   [Sep]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] ACPI: check mutex release status
From
Date
From: Davidlohr Bueso <dave@gnu.org>

If this is not done we have a bogus ACPI_FAILURE() call.

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
---
drivers/acpi/acpica/nsload.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/acpi/acpica/nsload.c b/drivers/acpi/acpica/nsload.c
index 5f7dc69..f3070fd 100644
--- a/drivers/acpi/acpica/nsload.c
+++ b/drivers/acpi/acpica/nsload.c
@@ -115,7 +115,7 @@ acpi_ns_load_table(u32 table_index, struct acpi_namespace_node *node)
}

unlock:
- (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE);
+ status = acpi_ut_release_mutex(ACPI_MTX_NAMESPACE);

if (ACPI_FAILURE(status)) {
return_ACPI_STATUS(status);
--
1.7.4.1




\
 
 \ /
  Last update: 2011-09-26 13:41    [W:3.141 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site