Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 336685
b: refs/heads/master
c: e0b7b24
h: refs/heads/master
i:
  336683: 159c063
v: v3
  • Loading branch information
Wen Congyang authored and Rafael J. Wysocki committed Nov 16, 2012
1 parent 48e0a5f commit c7870aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 386e52b95550db87c93455e3c0efe3cc4543f036
refs/heads/master: e0b7b24dd9559fcda0f8bfd6acbcad81682c4fdd
4 changes: 3 additions & 1 deletion trunk/drivers/acpi/acpi_memhotplug.c
Original file line number Diff line number Diff line change
Expand Up @@ -421,9 +421,11 @@ static int acpi_memory_device_add(struct acpi_device *device)
if (!acpi_memory_check_device(mem_device)) {
/* call add_memory func */
result = acpi_memory_enable_device(mem_device);
if (result)
if (result) {
printk(KERN_ERR PREFIX
"Error in acpi_memory_enable_device\n");
acpi_memory_device_free(mem_device);
}
}
return result;
}
Expand Down

0 comments on commit c7870aa

Please sign in to comment.