ACK: [PATCH] acpi/fwts-test: fix typo (depreciated->deprecated)

Colin Ian King colin.king at canonical.com
Mon Jun 14 17:24:51 UTC 2021


On 04/06/2021 00:41, Alex Hung wrote:
> Signed-off-by: Alex Hung <alex.hung at canonical.com>
> ---
>  fwts-test/boot-0001/boot-0001-efi.log | 2 +-
>  fwts-test/boot-0001/boot-0002-efi.log | 2 +-
>  fwts-test/pptt-0001/pptt-0001.log     | 2 +-
>  fwts-test/pptt-0001/pptt-0002.log     | 2 +-
>  src/acpi/boot/boot.c                  | 2 +-
>  src/acpi/pptt/pptt.c                  | 2 +-
>  6 files changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/fwts-test/boot-0001/boot-0001-efi.log b/fwts-test/boot-0001/boot-0001-efi.log
> index 6335af23..e3f127f7 100644
> --- a/fwts-test/boot-0001/boot-0001-efi.log
> +++ b/fwts-test/boot-0001/boot-0001-efi.log
> @@ -1,6 +1,6 @@
>  boot            boot: BOOT Table test.
>  boot            ----------------------------------------------------------
> -boot            ACPI BOOT table is depreciated on UEFI firmware, skipping
> +boot            ACPI BOOT table is deprecated on UEFI firmware, skipping
>  boot            test
>  boot            ==========================================================
>  boot            0 passed, 0 failed, 0 warning, 0 aborted, 1 skipped, 0
> diff --git a/fwts-test/boot-0001/boot-0002-efi.log b/fwts-test/boot-0001/boot-0002-efi.log
> index 6335af23..e3f127f7 100644
> --- a/fwts-test/boot-0001/boot-0002-efi.log
> +++ b/fwts-test/boot-0001/boot-0002-efi.log
> @@ -1,6 +1,6 @@
>  boot            boot: BOOT Table test.
>  boot            ----------------------------------------------------------
> -boot            ACPI BOOT table is depreciated on UEFI firmware, skipping
> +boot            ACPI BOOT table is deprecated on UEFI firmware, skipping
>  boot            test
>  boot            ==========================================================
>  boot            0 passed, 0 failed, 0 warning, 0 aborted, 1 skipped, 0
> diff --git a/fwts-test/pptt-0001/pptt-0001.log b/fwts-test/pptt-0001/pptt-0001.log
> index 21e19d80..2b0cb2eb 100644
> --- a/fwts-test/pptt-0001/pptt-0001.log
> +++ b/fwts-test/pptt-0001/pptt-0001.log
> @@ -47,7 +47,7 @@ pptt                Associativity:                  0xc0
>  pptt                Attributes:                     0x00
>  pptt                Line size:                      0x0000
>  pptt            
> -pptt            PPTT type 2 is depreciated since ACPI 6.3 Errata A.
> +pptt            PPTT type 2 is deprecated since ACPI 6.3 Errata A.
>  pptt              ID structure (Type 2):
>  pptt                Type:                           0x02
>  pptt                Length:                         0x1e
> diff --git a/fwts-test/pptt-0001/pptt-0002.log b/fwts-test/pptt-0001/pptt-0002.log
> index f0506d64..419895d1 100644
> --- a/fwts-test/pptt-0001/pptt-0002.log
> +++ b/fwts-test/pptt-0001/pptt-0002.log
> @@ -59,7 +59,7 @@ pptt            field must be zero, got 0x0004 instead
>  pptt            FAILED [HIGH] PPTTReservedBitsNonZero: Test 1, PPTT Flags
>  pptt            Bits [31..7] must be zero, got 0x000000ff instead
>  pptt            
> -pptt            PPTT type 2 is depreciated since ACPI 6.3 Errata A.
> +pptt            PPTT type 2 is deprecated since ACPI 6.3 Errata A.
>  pptt              ID structure (Type 2):
>  pptt                Type:                           0x02
>  pptt                Length:                         0x1e
> diff --git a/src/acpi/boot/boot.c b/src/acpi/boot/boot.c
> index a88b58b2..cd41452f 100644
> --- a/src/acpi/boot/boot.c
> +++ b/src/acpi/boot/boot.c
> @@ -36,7 +36,7 @@ static int boot_init(fwts_framework *fw)
>  		return FWTS_ERROR;
>  	}
>  	if (fwts_firmware_detect() == FWTS_FIRMWARE_UEFI) {
> -		fwts_log_error(fw, "ACPI BOOT table is depreciated on UEFI firmware, skipping test");
> +		fwts_log_error(fw, "ACPI BOOT table is deprecated on UEFI firmware, skipping test");
>  		return FWTS_SKIP;
>  	}
>  	if (table == NULL || (table && table->length == 0)) {
> diff --git a/src/acpi/pptt/pptt.c b/src/acpi/pptt/pptt.c
> index 56394660..21be3ff1 100644
> --- a/src/acpi/pptt/pptt.c
> +++ b/src/acpi/pptt/pptt.c
> @@ -149,7 +149,7 @@ static int pptt_test1(fwts_framework *fw)
>  			if (pptt->header.revision < 3)
>  				type_length -= sizeof(((fwts_acpi_table_pptt_cache *) entry)->cache_id);
>  		} else if (entry->type == FWTS_PPTT_ID) {
> -			fwts_log_warning(fw, "PPTT type 2 is depreciated since ACPI 6.3 Errata A.");
> +			fwts_log_warning(fw, "PPTT type 2 is deprecated since ACPI 6.3 Errata A.");
>  			pptt_id_test(fw, (fwts_acpi_table_pptt_id *) entry, &passed);
>  			type_length = sizeof(fwts_acpi_table_pptt_id);
>  		} else {
> 

Good catch.

Acked-by: Colin Ian King <colin.king at canonical.com>



More information about the fwts-devel mailing list