ACPI: fixup memhotplug debug message
Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
parent
d120cfb544
commit
0a1f1ab8de
@ -248,7 +248,7 @@ static int acpi_memory_enable_device(struct acpi_memory_device *mem_device)
|
|||||||
num_enabled++;
|
num_enabled++;
|
||||||
}
|
}
|
||||||
if (!num_enabled) {
|
if (!num_enabled) {
|
||||||
ACPI_DEBUG_PRINT((ACPI_DB_ERROR, "\nadd_memory failed\n"));
|
printk(KERN_ERR PREFIX "add_memory failed\n");
|
||||||
mem_device->state = MEMORY_INVALID_STATE;
|
mem_device->state = MEMORY_INVALID_STATE;
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user