mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] acpi: battery: make warning greppable
@ 2015-03-12 23:48 Martin Kepplinger
  2015-03-18 15:27 ` Rafael J. Wysocki
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Kepplinger @ 2015-03-12 23:48 UTC (permalink / raw)
  To: rjw, lenb; +Cc: linux-acpi, linux-kernel, Martin Kepplinger

Signed-off-by: Martin Kepplinger <martink@posteo.de>
---
I was so angry now, I had to write a change. Please keep things greppable and
save unnecessary questions and time this way.

 drivers/acpi/battery.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/acpi/battery.c b/drivers/acpi/battery.c
index d98ba43..baebd1a 100644
--- a/drivers/acpi/battery.c
+++ b/drivers/acpi/battery.c
@@ -530,8 +530,8 @@ static int acpi_battery_get_state(struct acpi_battery *battery)
 		battery->rate_now != ACPI_BATTERY_VALUE_UNKNOWN &&
 		(s16)(battery->rate_now) < 0) {
 		battery->rate_now = abs((s16)battery->rate_now);
-		printk_once(KERN_WARNING FW_BUG "battery: (dis)charge rate"
-			" invalid.\n");
+		printk_once(KERN_WARNING FW_BUG
+			    "battery: (dis)charge rate invalid.\n");
 	}
 
 	if (test_bit(ACPI_BATTERY_QUIRK_PERCENTAGE_CAPACITY, &battery->flags)
-- 
2.1.4


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] acpi: battery: make warning greppable
  2015-03-12 23:48 [PATCH] acpi: battery: make warning greppable Martin Kepplinger
@ 2015-03-18 15:27 ` Rafael J. Wysocki
  0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2015-03-18 15:27 UTC (permalink / raw)
  To: Martin Kepplinger; +Cc: lenb, linux-acpi, linux-kernel

On Friday, March 13, 2015 12:48:17 AM Martin Kepplinger wrote:
> Signed-off-by: Martin Kepplinger <martink@posteo.de>
> ---
> I was so angry now, I had to write a change. Please keep things greppable and
> save unnecessary questions and time this way.

Queued up for 4.1, thanks!

>  drivers/acpi/battery.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/acpi/battery.c b/drivers/acpi/battery.c
> index d98ba43..baebd1a 100644
> --- a/drivers/acpi/battery.c
> +++ b/drivers/acpi/battery.c
> @@ -530,8 +530,8 @@ static int acpi_battery_get_state(struct acpi_battery *battery)
>  		battery->rate_now != ACPI_BATTERY_VALUE_UNKNOWN &&
>  		(s16)(battery->rate_now) < 0) {
>  		battery->rate_now = abs((s16)battery->rate_now);
> -		printk_once(KERN_WARNING FW_BUG "battery: (dis)charge rate"
> -			" invalid.\n");
> +		printk_once(KERN_WARNING FW_BUG
> +			    "battery: (dis)charge rate invalid.\n");
>  	}
>  
>  	if (test_bit(ACPI_BATTERY_QUIRK_PERCENTAGE_CAPACITY, &battery->flags)
> 

-- 
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-03-18 15:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-12 23:48 [PATCH] acpi: battery: make warning greppable Martin Kepplinger
2015-03-18 15:27 ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®