kexec: Remove unnecessary KERN_ERR from kexec.c
Subsystems (3)
PATCH 1/1 kexec: Remove unnecessary KERN_ERR from kexec.c
This patch remove unnecessary KERN_ERR from pr_err() within kexec.c.
Signed-off-by Masanari Iida <[email protected]>
--- kernel/kexec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/kexec.c +1 -1
@@ -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; } }
Signature · 1 line
2.1.1.273.g97b8860
Quoted 3 lines · Masanari Iida
This patch remove unnecessary
KERN_ERRfrompr_err()withinkexec.c.Signed-off-by Masanari Iida <[email protected]>
[cc akpm]
Thanks for the fix.
Acked-by Vivek Goyal <[email protected]>
Vivek
Quoted 19 lines
--- kernel/kexec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)kernel/kexec.c +1
-1@@ -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; } }Signature · 1 line
2.1.1.273.g97b8860
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec