[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2462906.A69BgWcTke@vostro.rjw.lan>
Date: Fri, 05 Jul 2013 14:18:14 +0200
From: "Rafael J. Wysocki" <rjw@...k.pl>
To: Mika Westerberg <mika.westerberg@...ux.intel.com>
Cc: "Rafael J. Wysocki" <rafael.j.wysocki@...el.com>,
Len Brown <lenb@...nel.org>, linux-acpi@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ACPI / power: add missing newline to debug messages
On Friday, July 05, 2013 12:15:56 PM Mika Westerberg wrote:
> There are few places in power.c where debug messages have no newline at the
> end. Reading such debug messages from dmesg is not fun so fix this by
> adding the missing newlines.
>
> Signed-off-by: Mika Westerberg <mika.westerberg@...ux.intel.com>
Applied, thanks!
Rafael
> ---
> drivers/acpi/power.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/acpi/power.c b/drivers/acpi/power.c
> index 288bb27..5c28c89 100644
> --- a/drivers/acpi/power.c
> +++ b/drivers/acpi/power.c
> @@ -279,7 +279,7 @@ static int acpi_power_on_unlocked(struct acpi_power_resource *resource)
>
> if (resource->ref_count++) {
> ACPI_DEBUG_PRINT((ACPI_DB_INFO,
> - "Power resource [%s] already on",
> + "Power resource [%s] already on\n",
> resource->name));
> } else {
> result = __acpi_power_on(resource);
> @@ -325,7 +325,7 @@ static int acpi_power_off_unlocked(struct acpi_power_resource *resource)
>
> if (!resource->ref_count) {
> ACPI_DEBUG_PRINT((ACPI_DB_INFO,
> - "Power resource [%s] already off",
> + "Power resource [%s] already off\n",
> resource->name));
> return 0;
> }
>
--
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists