mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Corey Minyard <minyard@acm.org>
To: Arvind Yadav <arvind.yadav.cs@gmail.com>, luto@kernel.org
Cc: openipmi-developer@lists.sourceforge.net, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ipmi: pr_err() strings should end with newlines
Date: Wed, 27 Sep 2017 15:35:19 -0500	[thread overview]
Message-ID: <aeb135d8-a697-f09a-e38d-22104fb49817@acm.org> (raw)
In-Reply-To: <a934d2ae0bbd4b5bd7cce2b27b015faf22746427.1506325713.git.arvind.yadav.cs@gmail.com>

On 09/25/2017 02:49 AM, Arvind Yadav wrote:
> pr_err() messages should terminated with a new-line to avoid
> other messages being concatenated onto the end.

Thanks, it's queued for the next release.

-corey

> Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
> ---
>   drivers/char/ipmi/ipmi_dmi.c | 6 +++---
>   1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/char/ipmi/ipmi_dmi.c b/drivers/char/ipmi/ipmi_dmi.c
> index 2a84401..66dafcd 100644
> --- a/drivers/char/ipmi/ipmi_dmi.c
> +++ b/drivers/char/ipmi/ipmi_dmi.c
> @@ -71,13 +71,13 @@ static void __init dmi_add_platform_ipmi(unsigned long base_addr,
>   		size = 2;
>   		break;
>   	default:
> -		pr_err("ipmi:dmi: Invalid IPMI type: %d", type);
> +		pr_err("ipmi:dmi: Invalid IPMI type: %d\n", type);
>   		return;
>   	}
>   
>   	pdev = platform_device_alloc(name, ipmi_dmi_nr);
>   	if (!pdev) {
> -		pr_err("ipmi:dmi: Error allocation IPMI platform device");
> +		pr_err("ipmi:dmi: Error allocation IPMI platform device\n");
>   		return;
>   	}
>   	pdev->driver_override = override;
> @@ -239,7 +239,7 @@ static void __init dmi_decode_ipmi(const struct dmi_header *dm)
>   				offset = 16;
>   				break;
>   			default:
> -				pr_err("ipmi:dmi: Invalid offset: 0");
> +				pr_err("ipmi:dmi: Invalid offset: 0\n");
>   				return;
>   			}
>   		}

      reply	other threads:[~2017-09-27 20:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-25  7:49 Arvind Yadav
2017-09-27 20:35 ` Corey Minyard [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=aeb135d8-a697-f09a-e38d-22104fb49817@acm.org \
    --to=minyard@acm.org \
    --cc=arvind.yadav.cs@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luto@kernel.org \
    --cc=openipmi-developer@lists.sourceforge.net \
    /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

all inboxes | Powered by JetHome®