Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755304AbcC1R75 (ORCPT ); Mon, 28 Mar 2016 13:59:57 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59388 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751156AbcC1R7y (ORCPT ); Mon, 28 Mar 2016 13:59:54 -0400 From: Daniel Bristot de Oliveira To: Robert Moore , Lv Zheng , "Rafael J. Wysocki" , Len Brown Cc: linux-acpi@vger.kernel.org, devel@acpica.org, linux-kernel@vger.kernel.org Subject: [PATCH] ACPICA: Remove unnecessary "\n" from an ACPI_INFO boot message Date: Mon, 28 Mar 2016 14:59:27 -0300 Message-Id: <74bc15316c48bb33c0954d94c0595720ee0955bd.1459187689.git.bristot@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1121 Lines: 36 A "\n" at the end of bellow ACPI_INFO message is causing a blank line in the kernel log: ACPI_INFO(("%u ACPI AML tables successfully acquired and loaded\n", tables_loaded)); This patch removes the "\n". Kernel log before this patch: ACPI: Core revision 20160108 ACPI: 2 ACPI AML tables successfully acquired and loaded Security Framework initialized Kernel log after this patch: ACPI: Core revision 20160108 ACPI: 2 ACPI AML tables successfully acquired and loaded Security Framework initialized Signed-off-by: Daniel Bristot de Oliveira diff --git a/drivers/acpi/acpica/tbxfload.c b/drivers/acpi/acpica/tbxfload.c index 3151968..e435b84 100644 --- a/drivers/acpi/acpica/tbxfload.c +++ b/drivers/acpi/acpica/tbxfload.c @@ -240,7 +240,8 @@ acpi_status acpi_tb_load_namespace(void) } if (!tables_failed) { - ACPI_INFO(("%u ACPI AML tables successfully acquired and loaded\n", tables_loaded)); + ACPI_INFO(("%u ACPI AML tables successfully acquired and loaded", + tables_loaded)); } else { ACPI_ERROR((AE_INFO, "%u table load failures, %u successful", -- 2.5.0