mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-28 12:25:31 +00:00
ACPI / bus: Tidy up _OSC error spacing
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>
This commit is contained in:
parent
4ef7675344
commit
50fe763cc8
@ -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");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user