ACK: [PATCH][V2] src/acpi: Fix a few spelling mistakes

ivanhu ivan.hu at canonical.com
Tue Nov 5 06:42:47 UTC 2024


Acked-by: Ivan Hu <ivan.hu at canonical.com>

On 2024/10/27 00:46, Colin Ian King wrote:
> There are a few spelling mistakes, fix these.
> 
> Signed-off-by: Colin Ian King <colin.i.king at gmail.com>
> ---
> V2: Fix lengthe
> ---
>   src/acpi/ccel/ccel.c | 2 +-
>   src/acpi/wmi/wmi.c   | 2 +-
>   2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/acpi/ccel/ccel.c b/src/acpi/ccel/ccel.c
> index 0d979a2a..f5e2c806 100644
> --- a/src/acpi/ccel/ccel.c
> +++ b/src/acpi/ccel/ccel.c
> @@ -34,7 +34,7 @@ static int ccel_test1(fwts_framework *fw)
>   	if (ccel->header.length != sizeof(fwts_acpi_table_ccel)) {
>   		fwts_failed(fw, LOG_LEVEL_HIGH,
>   			"CCELBadTableLength",
> -			"CCEL table lengthe shoud be %" PRIu32 ", got %" PRIu32
> +			"CCEL table length should be %" PRIu32 ", got %" PRIu32
>   			 " instead.", (uint32_t)sizeof(fwts_acpi_table_ccel),
>   			 ccel->header.length);
>   		return FWTS_OK;
> diff --git a/src/acpi/wmi/wmi.c b/src/acpi/wmi/wmi.c
> index 98a73d46..7dfb855f 100644
> --- a/src/acpi/wmi/wmi.c
> +++ b/src/acpi/wmi/wmi.c
> @@ -259,7 +259,7 @@ static char *wmi_acpi_get_parent_name(const char *object_name)
>   
>   /*
>    * wmi_acpi_method_count_on_object()
> - *	count occurance of methods on acpi object
> + *	count occurrence of methods on acpi object
>    */
>   static int wmi_acpi_method_count_on_object(const char *object_name, const char *method_name)
>   {



More information about the fwts-devel mailing list