From patchwork Fri Aug 10 00:38:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Hung X-Patchwork-Id: 955901 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=fwts-devel-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=canonical.com Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41mmSK2wBbz9ryt; Fri, 10 Aug 2018 10:38:09 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1fnvRO-0008Vo-4h; Fri, 10 Aug 2018 00:38:06 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.86_2) (envelope-from ) id 1fnvRM-0008Uo-5E for fwts-devel@lists.ubuntu.com; Fri, 10 Aug 2018 00:38:04 +0000 Received: from 2.general.alexhung.us.vpn ([10.172.65.255] helo=canonical.com) by youngberry.canonical.com with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1fnvRL-0005by-KY; Fri, 10 Aug 2018 00:38:03 +0000 From: Alex Hung To: fwts-devel@lists.ubuntu.com Subject: [PATCH] acpitables: remove unnecessary new line character Date: Thu, 9 Aug 2018 17:38:01 -0700 Message-Id: <20180810003801.32580-1-alex.hung@canonical.com> X-Mailer: git-send-email 2.17.1 X-BeenThere: fwts-devel@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Firmware Test Suite Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: fwts-devel-bounces@lists.ubuntu.com Sender: "fwts-devel" There are no functional changes. Signed-off-by: Alex Hung Acked-by: Colin Ian King Acked-by: Ivan Hu --- src/acpi/acpitables/acpitables.c | 2 +- src/sbbr/acpitables/acpitables.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/acpi/acpitables/acpitables.c b/src/acpi/acpitables/acpitables.c index 6f0b110a..c32b42c0 100644 --- a/src/acpi/acpitables/acpitables.c +++ b/src/acpi/acpitables/acpitables.c @@ -48,7 +48,7 @@ static bool acpi_table_check_field_test( if (!acpi_table_check_field(field, len)) { fwts_failed(fw, LOG_LEVEL_LOW, "ACPITableHdrInfo", "ACPI Table %s has non-ASCII characters in " - "header field %s\n", table_name, field_name); + "header field %s", table_name, field_name); return false; } return true; diff --git a/src/sbbr/acpitables/acpitables.c b/src/sbbr/acpitables/acpitables.c index 7d0d1987..e6786eec 100644 --- a/src/sbbr/acpitables/acpitables.c +++ b/src/sbbr/acpitables/acpitables.c @@ -59,7 +59,7 @@ static bool acpi_table_check_field_test( if (!acpi_table_check_field(field, len)) { fwts_failed(fw, LOG_LEVEL_LOW, "ACPITableHdrInfo", "ACPI Table %s has non-ASCII characters in " - "header field %s\n", table_name, field_name); + "header field %s", table_name, field_name); return false; } return true;