Commit 5e1f198b authored by Jeremy Fitzhardinge's avatar Jeremy Fitzhardinge Committed by Len Brown

acpiphp_ibm: add missing '\n' to error message

Add missing \n to error in ibm_find_acpi_device.
Signed-off-by: default avatarJeremy Fitzhardinge <jeremy@goop.org>
Cc: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Cc: Adrian Bunk <trivial@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 3e0d69ec
...@@ -399,7 +399,7 @@ static acpi_status __init ibm_find_acpi_device(acpi_handle handle, ...@@ -399,7 +399,7 @@ static acpi_status __init ibm_find_acpi_device(acpi_handle handle,
status = acpi_get_object_info(handle, &info_buffer); status = acpi_get_object_info(handle, &info_buffer);
if (ACPI_FAILURE(status)) { if (ACPI_FAILURE(status)) {
err("%s: Failed to get device information", __FUNCTION__); err("%s: Failed to get device information\n", __FUNCTION__);
return 0; return 0;
} }
info.hardware_id.value[sizeof(info.hardware_id.value) - 1] = '\0'; info.hardware_id.value[sizeof(info.hardware_id.value) - 1] = '\0';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment