From patchwork Tue Jan 2 08:45:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ivanhu X-Patchwork-Id: 1881551 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=185.125.189.65; helo=lists.ubuntu.com; envelope-from=fwts-devel-bounces@lists.ubuntu.com; receiver=patchwork.ozlabs.org) Received: from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4T45yr2ngCz23dJ for ; Tue, 2 Jan 2024 19:45:23 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=lists.ubuntu.com) by lists.ubuntu.com with esmtp (Exim 4.86_2) (envelope-from ) id 1rKaOh-0008C0-Ss; Tue, 02 Jan 2024 08:45:16 +0000 Received: from smtp-relay-canonical-1.internal ([10.131.114.174] helo=smtp-relay-canonical-1.canonical.com) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1rKaOe-0008BP-FQ for fwts-devel@lists.ubuntu.com; Tue, 02 Jan 2024 08:45:12 +0000 Received: from canonical.com (118-163-61-247.hinet-ip.hinet.net [118.163.61.247]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-1.canonical.com (Postfix) with ESMTPSA id 8F1733FC04 for ; Tue, 2 Jan 2024 08:45:11 +0000 (UTC) From: Ivan Hu To: fwts-devel@lists.ubuntu.com Subject: [PATCH] acpi: method: fix typo of subelement Date: Tue, 2 Jan 2024 16:45:07 +0800 Message-Id: <20240102084507.35199-1-ivan.hu@canonical.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-BeenThere: fwts-devel@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Firmware Test Suite Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: fwts-devel-bounces@lists.ubuntu.com Sender: "fwts-devel" No function impact. Signed-off-by: Ivan Hu --- 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;