summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/utilities
diff options
context:
space:
mode:
authorAlexey Y. Starikovskiy <alexey.y.starikovskiy@intel.com>2005-08-25 07:56:52 +0200
committerLen Brown <len.brown@intel.com>2005-08-31 23:29:32 +0200
commit8813dfbfc56b3f7c369b3115c2f70bcacd77ec51 (patch)
tree2fe8f4383e8b4650ab66e2ed970d60d8b01e5c49 /drivers/acpi/utilities
parent[ACPI] check acpi_disabled in IPMI (diff)
downloadlinux-8813dfbfc56b3f7c369b3115c2f70bcacd77ec51.tar.xz
linux-8813dfbfc56b3f7c369b3115c2f70bcacd77ec51.zip
[ACPI] Error: Invalid owner_id: 00
Signed-off-by: Alexey Y. Starikovskiy <alexey.y.starikovskiy@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/utilities')
-rw-r--r--drivers/acpi/utilities/utmisc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/acpi/utilities/utmisc.c b/drivers/acpi/utilities/utmisc.c
index f0275025b718..c2f5b2adb5d6 100644
--- a/drivers/acpi/utilities/utmisc.c
+++ b/drivers/acpi/utilities/utmisc.c
@@ -67,6 +67,8 @@ acpi_status acpi_ut_allocate_owner_id(acpi_owner_id * owner_id)
ACPI_FUNCTION_TRACE("ut_allocate_owner_id");
+ WARN_ON(*owner_id);
+
/* Mutex for the global ID mask */
status = acpi_ut_acquire_mutex(ACPI_MTX_CACHES);