Message ID | 20241026164644.2134525-1-colin.i.king@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | [V2] src/acpi: Fix a few spelling mistakes | expand |
Acked-by: Ivan Hu <ivan.hu@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@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) > {
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) {
There are a few spelling mistakes, fix these. Signed-off-by: Colin Ian King <colin.i.king@gmail.com> --- V2: Fix lengthe --- src/acpi/ccel/ccel.c | 2 +- src/acpi/wmi/wmi.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)