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  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]
Date:	Tue, 7 Oct 2014 09:11:19 -0400
From:	Vivek Goyal <vgoyal@...hat.com>
To:	Masanari Iida <standby24x7@...il.com>
Cc:	linux-kernel@...r.kernel.org, hbabu@...ibm.com,
	kexec@...ts.infradead.org,
	Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH] kexec: Remove unnecessary KERN_ERR from kexec.c

On Tue, Oct 07, 2014 at 12:54:58PM +0900, Masanari Iida wrote:
> This patch remove unnecessary KERN_ERR from pr_err() within kexec.c.
> 
> Signed-off-by: Masanari Iida <standby24x7@...il.com>

[cc akpm]

Thanks for the fix. 

Acked-by: Vivek Goyal <vgoyal@...hat.com>

Vivek

> ---
>  kernel/kexec.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/kernel/kexec.c b/kernel/kexec.c
> index 2abf9f6..9a8a01a 100644
> --- a/kernel/kexec.c
> +++ b/kernel/kexec.c
> @@ -600,7 +600,7 @@ kimage_file_alloc_init(struct kimage **rimage, int kernel_fd,
>  	if (!kexec_on_panic) {
>  		image->swap_page = kimage_alloc_control_pages(image, 0);
>  		if (!image->swap_page) {
> -			pr_err(KERN_ERR "Could not allocate swap buffer\n");
> +			pr_err("Could not allocate swap buffer\n");
>  			goto out_free_control_pages;
>  		}
>  	}
> -- 
> 2.1.1.273.g97b8860
--
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