From patchwork Fri Jul 8 10:04:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivan Hu X-Patchwork-Id: 1654015 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=NE2ap6lz; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=fwts-devel-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) by bilbo.ozlabs.org (Postfix) with ESMTP id 4LfTXf6zzJz9s07 for ; Fri, 8 Jul 2022 20:09:38 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1o9kqd-0004Bq-7n; Fri, 08 Jul 2022 10:04:31 +0000 Received: from smtp-relay-canonical-0.internal ([10.131.114.83] helo=smtp-relay-canonical-0.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1o9kqb-0004Bi-VZ for fwts-devel@lists.ubuntu.com; Fri, 08 Jul 2022 10:04:29 +0000 Received: from canonical.com (unknown [106.104.72.120]) (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-0.canonical.com (Postfix) with ESMTPSA id D695B3F165 for ; Fri, 8 Jul 2022 10:04:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1657274669; bh=50lEekG4BzRepmycoatVQmTpQNyqTQNtb+rfqkGGlZ4=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=NE2ap6lzNEKpQ3BTDT6ctHasnCt383q5+naP/JLgBq/aLxV8ontbkTMSvW3w+UWcP pHtEwb04QwMDiSmPaWexc3K+t3lKIgT4qTf1zbgzeVJ7XBPDcQBy0EH+GpyxAoTr8s NYzc3Pz9myaRwQqa8++100K7AmOuJCWLmNLe8RWsUPOQuP9IRjU+CAQLX9Sz1bglRK m+uotWqzCj9WpH0vgrfIsspu48mStpBDeUz4Km1BKAVEnc3YtRCNa+QjuC3AZuVwoZ 0gLQB66L1hX+zNbG9wDQD6fWpjxdyfz65ZjzxZ3GjsDddFvqQQnOTqguPpiMF0KED2 5EFaH/+m+UlOQ== From: Ivan Hu To: fwts-devel@lists.ubuntu.com Subject: [PATCH] acpi: pmtt: fix the wrong table lable Date: Fri, 8 Jul 2022 18:04:15 +0800 Message-Id: <20220708100415.11382-1-ivan.hu@canonical.com> X-Mailer: git-send-email 2.25.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" Signed-off-by: Ivan Hu --- src/acpi/pmtt/pmtt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/acpi/pmtt/pmtt.c b/src/acpi/pmtt/pmtt.c index 68a4cca3..499a5608 100644 --- a/src/acpi/pmtt/pmtt.c +++ b/src/acpi/pmtt/pmtt.c @@ -192,7 +192,7 @@ static int pmtt_test1(fwts_framework *fw) offset = sizeof(fwts_acpi_table_pmtt); while (offset < table->length) { - if (fwts_acpi_structure_length_zero(fw, "PHAT", entry->length, offset)) { + if (fwts_acpi_structure_length_zero(fw, "PMTT", entry->length, offset)) { passed = false; break; }