summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/utilities
diff options
context:
space:
mode:
authorAlexey Y. Starikovskiy <alexey.y.starikovskiy@intel.com>2005-08-25 09:56:52 +0400
committerLen Brown <len.brown@intel.com>2005-08-31 17:29:32 -0400
commit8813dfbfc56b3f7c369b3115c2f70bcacd77ec51 (patch)
tree2fe8f4383e8b4650ab66e2ed970d60d8b01e5c49 /drivers/acpi/utilities
parent4fbd1514173a80f9dc93e8ebbd6d4eb97cee123e (diff)
downloadop-kernel-dev-8813dfbfc56b3f7c369b3115c2f70bcacd77ec51.zip
op-kernel-dev-8813dfbfc56b3f7c369b3115c2f70bcacd77ec51.tar.gz
[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 f027502..c2f5b2a 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);
OpenPOWER on IntegriCloud