linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Vivek Goyal <vgoyal@redhat.com>
To: Masanari Iida <standby24x7@gmail.com>
Cc: linux-kernel@vger.kernel.org, hbabu@us.ibm.com,
	kexec@lists.infradead.org,
	Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH] kexec: Remove unnecessary KERN_ERR from kexec.c
Date: Tue, 7 Oct 2014 09:11:19 -0400	[thread overview]
Message-ID: <20141007131119.GA27464@redhat.com> (raw)
In-Reply-To: <1412654098-31847-1-git-send-email-standby24x7@gmail.com>

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

      reply	other threads:[~2014-10-07 13:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-07  3:54 [PATCH] kexec: Remove unnecessary KERN_ERR from kexec.c Masanari Iida
2014-10-07 13:11 ` Vivek Goyal [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141007131119.GA27464@redhat.com \
    --to=vgoyal@redhat.com \
    --cc=akpm@linux-foundation.org \
    --cc=hbabu@us.ibm.com \
    --cc=kexec@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=standby24x7@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).