[PATCH] acpi: method: fix typo of subelement
Ivan Hu
ivan.hu at canonical.com
Tue Jan 2 08:45:07 UTC 2024
No function impact.
Signed-off-by: Ivan Hu <ivan.hu at canonical.com>
---
src/acpi/method/method.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/acpi/method/method.c b/src/acpi/method/method.c
index c90aba46..80cef114 100644
--- a/src/acpi/method/method.c
+++ b/src/acpi/method/method.c
@@ -2492,7 +2492,7 @@ static void method_test_LPI_return(
case 0 ... 5:
if (pkg->Package.Elements[j].Type != ACPI_TYPE_INTEGER) {
fwts_failed(fw, LOG_LEVEL_HIGH,
- "Method_LPIBadESublementType",
+ "Method_LPIBadSubElementType",
"%s sub-package %" PRIu32 " element %" PRIu32 " is not "
"an integer.", name, i, j);
failed = true;
@@ -2502,7 +2502,7 @@ static void method_test_LPI_return(
if (pkg->Package.Elements[j].Type != ACPI_TYPE_INTEGER &&
pkg->Package.Elements[j].Type != ACPI_TYPE_BUFFER) {
fwts_failed(fw, LOG_LEVEL_HIGH,
- "Method_LPIBadESublementType",
+ "Method_LPIBadSubElementType",
"%s sub-package %" PRIu32 " element %" PRIu32 " is not "
"a buffer or an integer.", name, i, j);
failed = true;
@@ -2511,7 +2511,7 @@ static void method_test_LPI_return(
case 7 ... 8:
if (pkg->Package.Elements[j].Type != ACPI_TYPE_BUFFER) {
fwts_failed(fw, LOG_LEVEL_HIGH,
- "Method_LPIBadESublementType",
+ "Method_LPIBadSubElementType",
"%s sub-package %" PRIu32 " element %" PRIu32 " is not "
"a buffer.", name, i, j);
failed = true;
@@ -2520,7 +2520,7 @@ static void method_test_LPI_return(
case 9:
if (pkg->Package.Elements[j].Type != ACPI_TYPE_STRING) {
fwts_failed(fw, LOG_LEVEL_HIGH,
- "Method_LPIBadESublementType",
+ "Method_LPIBadSubElementType",
"%s sub-package %" PRIu32 " element %" PRIu32 " is not "
"a string.", name, i, j);
failed = true;
@@ -2528,7 +2528,7 @@ static void method_test_LPI_return(
break;
default:
fwts_failed(fw, LOG_LEVEL_HIGH,
- "Method_LPIBadESublement",
+ "Method_LPIBadSubElement",
"%s sub-package %" PRIu32 " element %" PRIu32 " should have "
"9 elements, got .", name, i, j+1);
failed = true;
@@ -2589,7 +2589,7 @@ static void method_test_RDI_return(
for (j = 0; j < pkg->Package.Count; j++) {
if (pkg->Package.Elements[j].Type != ACPI_TYPE_LOCAL_REFERENCE) {
fwts_failed(fw, LOG_LEVEL_HIGH,
- "Method_RDIBadESublementType",
+ "Method_RDIBadSubElementType",
"%s sub-package %" PRIu32 " element %" PRIu32 " is not "
"a Reference.", name, i, j);
failed = true;
--
2.34.1
More information about the fwts-devel
mailing list