diff options
author | Len Brown | 2006-12-20 08:52:50 +0100 |
---|---|---|
committer | Len Brown | 2006-12-20 08:52:50 +0100 |
commit | 3be11c8f4f2fa194834c2e83540f34da442b8977 (patch) | |
tree | 35386fe97c1dd62a261c297512b8e5137b56c35d /drivers/acpi/osl.c | |
parent | Pull ec into test branch (diff) | |
parent | ACPI: Kconfig - depend on PM rather than selecting it (diff) | |
download | kernel-qcow2-linux-3be11c8f4f2fa194834c2e83540f34da442b8977.tar.gz kernel-qcow2-linux-3be11c8f4f2fa194834c2e83540f34da442b8977.tar.xz kernel-qcow2-linux-3be11c8f4f2fa194834c2e83540f34da442b8977.zip |
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; |