Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934781AbdIYKs2 (ORCPT ); Mon, 25 Sep 2017 06:48:28 -0400 Received: from mail-pf0-f196.google.com ([209.85.192.196]:33311 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934668AbdIYKs0 (ORCPT ); Mon, 25 Sep 2017 06:48:26 -0400 X-Google-Smtp-Source: AOwi7QC6+9fXKVIOAZFmBVI2WUPrIO0eCVb7KY+1BcuSgC1KyxU6Wru9hUc5dw428tGRgL2GhYtYLQ== From: Arvind Yadav To: matt@codeblueprint.co.uk, ard.biesheuvel@linaro.org Cc: linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] efi/capsule-loader: pr_err() strings should end with newlines Date: Mon, 25 Sep 2017 16:17:23 +0530 Message-Id: <34e9e4c3647f1d1abd051e1d493d8a19c6259a64.1506336366.git.arvind.yadav.cs@gmail.com> 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: 756 Lines: 23 pr_err() messages should terminated with a new-line to avoid other messages being concatenated onto the end. Signed-off-by: Arvind Yadav --- drivers/firmware/efi/capsule-loader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/firmware/efi/capsule-loader.c b/drivers/firmware/efi/capsule-loader.c index ec8ac5c..51d2874 100644 --- a/drivers/firmware/efi/capsule-loader.c +++ b/drivers/firmware/efi/capsule-loader.c @@ -49,7 +49,7 @@ int __efi_capsule_setup_info(struct capsule_info *cap_info) pages_needed = ALIGN(cap_info->total_size, PAGE_SIZE) / PAGE_SIZE; if (pages_needed == 0) { - pr_err("invalid capsule size"); + pr_err("invalid capsule size\n"); return -EINVAL; } -- 1.9.1