* [PATCH] kexec: Remove unnecessary KERN_ERR from kexec.c
@ 2014-10-07 3:54 Masanari Iida
2014-10-07 13:11 ` Vivek Goyal
0 siblings, 1 reply; 2+ messages in thread
From: Masanari Iida @ 2014-10-07 3:54 UTC (permalink / raw)
To: linux-kernel, vgoyal, hbabu, kexec; +Cc: Masanari Iida
This patch remove unnecessary KERN_ERR from pr_err() within kexec.c.
Signed-off-by: Masanari Iida <standby24x7@gmail.com>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] kexec: Remove unnecessary KERN_ERR from kexec.c
2014-10-07 3:54 [PATCH] kexec: Remove unnecessary KERN_ERR from kexec.c Masanari Iida
@ 2014-10-07 13:11 ` Vivek Goyal
0 siblings, 0 replies; 2+ messages in thread
From: Vivek Goyal @ 2014-10-07 13:11 UTC (permalink / raw)
To: Masanari Iida; +Cc: linux-kernel, hbabu, kexec, Andrew Morton
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@gmail.com>
[cc akpm]
Thanks for the fix.
Acked-by: Vivek Goyal <vgoyal@redhat.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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-10-07 13:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-07 3:54 [PATCH] kexec: Remove unnecessary KERN_ERR from kexec.c Masanari Iida
2014-10-07 13:11 ` Vivek Goyal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).