Pull bugfix into test branch

This commit is contained in:
Len Brown
2006-12-20 02:52:50 -05:00
4 changed files with 9 additions and 8 deletions

View File

@@ -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;