diff mbox series

src/acpi: Fix a couple of spelling mistakes

Message ID 20241026164410.2134194-1-colin.i.king@gmail.com
State New
Headers show
Series src/acpi: Fix a couple of spelling mistakes | expand

Commit Message

Colin Ian King Oct. 26, 2024, 4:44 p.m. UTC
There are a couple spelling mistakes, fix these.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
 src/acpi/ccel/ccel.c | 2 +-
 src/acpi/wmi/wmi.c   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Colin Ian King Oct. 26, 2024, 4:45 p.m. UTC | #1
On 26/10/2024 17:44, Colin Ian King wrote:
> There are a couple spelling mistakes, fix these.
> 
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
> ---
>   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 lengthe should be %" PRIu32 ", got %" PRIu32

spotted another spelling mistake, V2 coming soon.

>   			 " 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)
>   {
diff mbox series

Patch

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 lengthe 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)
 {