Kexec Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [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


_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

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

end of thread, other threads:[~2014-10-07 13:11 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