aboutsummaryrefslogtreecommitdiff
path: root/drivers/acpi/osl.c
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2006-12-20 02:52:50 -0500
committerLen Brown <len.brown@intel.com>2006-12-20 02:52:50 -0500
commit3be11c8f4f2fa194834c2e83540f34da442b8977 (patch)
tree35386fe97c1dd62a261c297512b8e5137b56c35d /drivers/acpi/osl.c
parent706b75ddbe36d20d071424f9867385c319b67f8d (diff)
parent6796a1204cfeac6dab1c2dd682d1138454eca661 (diff)
Pull bugfix into test branch
Diffstat (limited to 'drivers/acpi/osl.c')
-rw-r--r--drivers/acpi/osl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c
index b7ca020a056..57ae1e5cde0 100644
--- a/drivers/acpi/osl.c
+++ b/drivers/acpi/osl.c
@@ -1032,7 +1032,7 @@ acpi_status
acpi_os_create_cache(char *name, u16 size, u16 depth, acpi_cache_t ** cache)
{
*cache = kmem_cache_create(name, size, 0, 0, NULL, NULL);
- if (cache == NULL)
+ if (*cache == NULL)
return AE_ERROR;
else
return AE_OK;