ACK: [PATCH] acpitables: remove unnecessary new line character
ivanhu
ivan.hu at canonical.com
Tue Aug 14 07:44:59 UTC 2018
On 08/10/2018 08:38 AM, Alex Hung wrote:
> There are no functional changes.
>
> Signed-off-by: Alex Hung <alex.hung at canonical.com>
> ---
> 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;
>
Acked-by: Ivan Hu <ivan.hu at canonical.com>
More information about the fwts-devel
mailing list