Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933980AbdIYHvF (ORCPT ); Mon, 25 Sep 2017 03:51:05 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:37990 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753372AbdIYHvE (ORCPT ); Mon, 25 Sep 2017 03:51:04 -0400 X-Google-Smtp-Source: AOwi7QB2r/G2yjNHBdqEWjZ+fO1HvPkVbgU0mNUcYZhTaTgJdllCldOFjqRYzwoPC0puS2kgWDsyzQ== From: Arvind Yadav To: minyard@acm.org, luto@kernel.org Cc: openipmi-developer@lists.sourceforge.net, linux-kernel@vger.kernel.org Subject: [PATCH] ipmi: pr_err() strings should end with newlines Date: Mon, 25 Sep 2017 13:19:57 +0530 Message-Id: X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1171 Lines: 39 pr_err() messages should terminated with a new-line to avoid other messages being concatenated onto the end. Signed-off-by: Arvind Yadav --- 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; } } -- 1.9.1