diff options
author | Len Brown <len.brown@intel.com> | 2006-12-20 02:52:50 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-12-20 02:52:50 -0500 |
commit | 3be11c8f4f2fa194834c2e83540f34da442b8977 (patch) | |
tree | 35386fe97c1dd62a261c297512b8e5137b56c35d /drivers/acpi/osl.c | |
parent | 706b75ddbe36d20d071424f9867385c319b67f8d (diff) | |
parent | 6796a1204cfeac6dab1c2dd682d1138454eca661 (diff) |
Pull bugfix into test branch
Diffstat (limited to 'drivers/acpi/osl.c')
-rw-r--r-- | drivers/acpi/osl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index b7ca020a0565..57ae1e5cde0a 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; |