Skip to content

Commit

Permalink
ACPI / bus: Tidy up _OSC error spacing
Browse files Browse the repository at this point in the history
The whitespace in _OSC error reports is weird.  Improve it.

Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
  • Loading branch information
Andy Lutomirski authored and Rafael J. Wysocki committed Dec 22, 2015
1 parent 4ef7675 commit 50fe763
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/acpi/bus.c
Original file line number Diff line number Diff line change
Expand Up @@ -182,12 +182,12 @@ static void acpi_print_osc_error(acpi_handle handle,
if (ACPI_FAILURE(acpi_get_name(handle, ACPI_FULL_PATHNAME, &buffer)))
printk(KERN_DEBUG "%s\n", error);
else {
printk(KERN_DEBUG "%s:%s\n", (char *)buffer.pointer, error);
printk(KERN_DEBUG "%s: %s\n", (char *)buffer.pointer, error);
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))
printk("%x ", *((u32 *)(context->cap.pointer + i)));
printk(" %x", *((u32 *)(context->cap.pointer + i)));
printk("\n");
}

Expand Down

0 comments on commit 50fe763

Please sign in to comment.