diff options
Diffstat (limited to 'drivers/acpi/dock.c')
-rw-r--r-- | drivers/acpi/dock.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/acpi/dock.c b/drivers/acpi/dock.c index b7d15818215c..913bb1e89dd6 100644 --- a/drivers/acpi/dock.c +++ b/drivers/acpi/dock.c | |||
@@ -488,8 +488,9 @@ static void handle_dock(struct dock_station *ds, int dock) | |||
488 | arg.integer.value = dock; | 488 | arg.integer.value = dock; |
489 | status = acpi_evaluate_object(ds->handle, "_DCK", &arg_list, &buffer); | 489 | status = acpi_evaluate_object(ds->handle, "_DCK", &arg_list, &buffer); |
490 | if (ACPI_FAILURE(status) && status != AE_NOT_FOUND) | 490 | if (ACPI_FAILURE(status) && status != AE_NOT_FOUND) |
491 | printk(KERN_ERR PREFIX "%s - failed to execute _DCK\n", | 491 | ACPI_EXCEPTION((AE_INFO, status, "%s - failed to execute" |
492 | (char *)name_buffer.pointer); | 492 | " _DCK\n", (char *)name_buffer.pointer)); |
493 | |||
493 | kfree(buffer.pointer); | 494 | kfree(buffer.pointer); |
494 | kfree(name_buffer.pointer); | 495 | kfree(name_buffer.pointer); |
495 | } | 496 | } |