lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <3248282.q652f4oAaQ@vostro.rjw.lan>
Date:	Wed, 18 Mar 2015 16:27:36 +0100
From:	"Rafael J. Wysocki" <rjw@...ysocki.net>
To:	Martin Kepplinger <martink@...teo.de>
Cc:	lenb@...nel.org, linux-acpi@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] acpi: battery: make warning greppable

On Friday, March 13, 2015 12:48:17 AM Martin Kepplinger wrote:
> Signed-off-by: Martin Kepplinger <martink@...teo.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.
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ