aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/osl.c
diff options
context:
space:
mode:
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 b7ca020a0565..57ae1e5cde0a 100644
--- a/drivers/acpi/osl.c
+++ b/drivers/acpi/osl.c
@@ -1032,7 +1032,7 @@ acpi_status
1032acpi_os_create_cache(char *name, u16 size, u16 depth, acpi_cache_t ** cache) 1032acpi_os_create_cache(char *name, u16 size, u16 depth, acpi_cache_t ** cache)
1033{ 1033{
1034 *cache = kmem_cache_create(name, size, 0, 0, NULL, NULL); 1034 *cache = kmem_cache_create(name, size, 0, 0, NULL, NULL);
1035 if (cache == NULL) 1035 if (*cache == NULL)
1036 return AE_ERROR; 1036 return AE_ERROR;
1037 else 1037 else
1038 return AE_OK; 1038 return AE_OK;