Commit 50fe763c authored by Andy Lutomirski's avatar Andy Lutomirski Committed by Rafael J. Wysocki

ACPI / bus: Tidy up _OSC error spacing

The whitespace in _OSC error reports is weird.  Improve it.
Acked-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Signed-off-by: default avatarAndy Lutomirski <luto@kernel.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 4ef76753
...@@ -182,12 +182,12 @@ static void acpi_print_osc_error(acpi_handle handle, ...@@ -182,12 +182,12 @@ static void acpi_print_osc_error(acpi_handle handle,
if (ACPI_FAILURE(acpi_get_name(handle, ACPI_FULL_PATHNAME, &buffer))) if (ACPI_FAILURE(acpi_get_name(handle, ACPI_FULL_PATHNAME, &buffer)))
printk(KERN_DEBUG "%s\n", error); printk(KERN_DEBUG "%s\n", error);
else { else {
printk(KERN_DEBUG "%s:%s\n", (char *)buffer.pointer, error); printk(KERN_DEBUG "%s: %s\n", (char *)buffer.pointer, error);
kfree(buffer.pointer); kfree(buffer.pointer);
} }
printk(KERN_DEBUG"_OSC request data:"); printk(KERN_DEBUG "_OSC request data:");
for (i = 0; i < context->cap.length; i += sizeof(u32)) for (i = 0; i < context->cap.length; i += sizeof(u32))
printk("%x ", *((u32 *)(context->cap.pointer + i))); printk(" %x", *((u32 *)(context->cap.pointer + i)));
printk("\n"); printk("\n");
} }
......
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