From patchwork Fri Feb 19 23:39:42 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Al Stone X-Patchwork-Id: 62422 Delivered-To: patches@linaro.org Received: by 10.112.43.199 with SMTP id y7csp78518lbl; Fri, 19 Feb 2016 15:40:37 -0800 (PST) X-Received: by 10.60.179.49 with SMTP id dd17mr13648822oec.5.1455925237060; Fri, 19 Feb 2016 15:40:37 -0800 (PST) Return-Path: Received: from mail-ob0-x229.google.com (mail-ob0-x229.google.com. [2607:f8b0:4003:c01::229]) by mx.google.com with ESMTPS id v126si18930670oib.124.2016.02.19.15.40.36 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Feb 2016 15:40:37 -0800 (PST) Received-SPF: pass (google.com: domain of al.stone@linaro.org designates 2607:f8b0:4003:c01::229 as permitted sender) client-ip=2607:f8b0:4003:c01::229; Authentication-Results: mx.google.com; spf=pass (google.com: domain of al.stone@linaro.org designates 2607:f8b0:4003:c01::229 as permitted sender) smtp.mailfrom=al.stone@linaro.org; dkim=pass header.i=@linaro.org Received: by mail-ob0-x229.google.com with SMTP id jq7so122501082obb.0 for ; Fri, 19 Feb 2016 15:40:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=GGY8HQiGIR4K4C0F83m+aj8I3K2FAng7QtYiFY10EP8=; b=eQN/VW2FZKEnBcRmlnqVX9OWscg+GR7COg8fGA11/kdPAHIDojwWhrwrt0dMs+sMaq hqmMcakHqaZ+SqZYzijosQYt3B50KjfrJcJLw99v5okGwXEH+BOJgcTrP/gDkvJuYuO9 zbb/Zl0qKIvzUo61SU3v+EdV+yzM0QEUESp4Q= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=GGY8HQiGIR4K4C0F83m+aj8I3K2FAng7QtYiFY10EP8=; b=ESD5VjWblMOqFnoo//oGg2izuKI7MGJGoMGp9XL+Yub3sXt4Ul4LsNfWuFUgPDjIIQ T+NANR13bKWzN4IFvSKHapqjFR8Jcdmo0h1EGtpJjtYOWnGDMOY7vFMbfXdQkwQOlI7i sjASTdhj4sJlvUEVoF/brgIBGrg1Qhseaw9YMIkqQSfe4EqO385+VLzxwkYfXR8bOCPZ aP/mYRvvI8a9tATDponXa3dH2qCLhTyb/jPpIurDLkSQc6XoGfD8aA8iB5FtEepCHa2n jFadUZuQMndOjcNv12aCjYPS4k54E3A8IzTvn3zrKBevqAzU2RcoaDd5YRr/VTz8OOt7 KFpw== X-Gm-Message-State: AG10YOTV9OqQ69fksIB/Cf7JevZlS5LuKOWZw4PreNTCXFc8d01fpw7UxsQQdWJ/sJ1iNIKUufw= X-Received: by 10.182.200.136 with SMTP id js8mr13758366obc.11.1455925236773; Fri, 19 Feb 2016 15:40:36 -0800 (PST) Return-Path: Received: from fidelio.ahs3.com (c-50-134-239-249.hsd1.co.comcast.net. [50.134.239.249]) by smtp.googlemail.com with ESMTPSA id kg7sm8655217obb.27.2016.02.19.15.40.34 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 19 Feb 2016 15:40:35 -0800 (PST) From: Al Stone To: fwts-devel@lists.ubuntu.com Cc: linaro-acpi@lists.linaro.org, patches@linaro.org, Al Stone Subject: [PATCH v2 06/23] FADT: move log info out of test2, will provide it elsewhere Date: Fri, 19 Feb 2016 16:39:42 -0700 Message-Id: <1455925199-8587-7-git-send-email-al.stone@linaro.org> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1455925199-8587-1-git-send-email-al.stone@linaro.org> References: <1455925199-8587-1-git-send-email-al.stone@linaro.org> In subsequent patches, we will test the PM profile field explicitly, so remove code to log the value from test2 and log it when we do the direct testing of the value. Signed-off-by: Al Stone Acked-by: Colin Ian King Acked-by: Alex Hung --- src/acpi/fadt/fadt.c | 4 ---- 1 file changed, 4 deletions(-) -- 2.5.0 diff --git a/src/acpi/fadt/fadt.c b/src/acpi/fadt/fadt.c index 90f5d54..7ca351d 100644 --- a/src/acpi/fadt/fadt.c +++ b/src/acpi/fadt/fadt.c @@ -490,10 +490,6 @@ static int fadt_test2(fwts_framework *fw) uint32_t port, width, val32; int ret = FWTS_OK; - fwts_log_info(fw, "FADT Preferred PM Profile: %hhu (%s)\n", - fadt->preferred_pm_profile, - FWTS_ACPI_FADT_PREFERRED_PM_PROFILE(fadt->preferred_pm_profile)); - if (fwts_acpi_is_reduced_hardware(fadt)) { fwts_skipped(fw, "In reduced hardware mode, skipping test."); return FWTS_OK;