Re: [PATCH 1/2] acpi: Tidy up _OSC error spacing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Forwarding to linux-acpi.

On Thu, Nov 19, 2015 at 8:08 AM, Andy Lutomirski <luto@xxxxxxxxxx> wrote:
> The whitespace in _OSC error reports is weird.  Improve it.
>
> Signed-off-by: Andy Lutomirski <luto@xxxxxxxxxx>
> ---
>  drivers/acpi/bus.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c
> index a212cefae524..2177ef0b16e4 100644
> --- a/drivers/acpi/bus.c
> +++ b/drivers/acpi/bus.c
> @@ -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");
>  }
>
> --
> 2.5.0
>



-- 
Andy Lutomirski
AMA Capital Management, LLC
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux