From patchwork Fri Dec 15 11:05:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ivanhu X-Patchwork-Id: 1876545 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 4Ss5xJ5Pnqz1ySd for ; Fri, 15 Dec 2023 22:05:56 +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 1rE60r-0000M8-Ik; Fri, 15 Dec 2023 11:05:49 +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 1rE60o-0000Ly-Sc for fwts-devel@lists.ubuntu.com; Fri, 15 Dec 2023 11:05:46 +0000 Received: from canonical.com (unknown [10.101.194.164]) (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 071D93F18C for ; Fri, 15 Dec 2023 11:05:45 +0000 (UTC) From: Ivan Hu To: fwts-devel@lists.ubuntu.com Subject: [PATCH] acpi: fadt: clarify the check for sleep control register Date: Fri, 15 Dec 2023 19:05:42 +0800 Message-Id: <20231215110542.108068-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" Signed-off-by: Ivan Hu --- src/acpi/fadt/fadt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/acpi/fadt/fadt.c b/src/acpi/fadt/fadt.c index 346fccbd..133fbbfc 100644 --- a/src/acpi/fadt/fadt.c +++ b/src/acpi/fadt/fadt.c @@ -1603,7 +1603,7 @@ static void acpi_table_check_fadt_sleep_control_reg(fwts_framework *fw) fwts_failed(fw, LOG_LEVEL_MEDIUM, "SleepControlRegNotAllowed", "FADT SLEEP_CONTROL_REG is defined but " - "will be ignored reduced hardware mode."); + "will be ignored when not in reduced hardware mode."); } } @@ -1633,7 +1633,7 @@ static void acpi_table_check_fadt_sleep_status_reg(fwts_framework *fw) fwts_failed(fw, LOG_LEVEL_MEDIUM, "SleepStatusRegNotAllowed", "FADT SLEEP_STATUS_REG is defined but " - "will be ignored reduced hardware mode."); + "will be ignored when not in reduced hardware mode."); } }