From patchwork Tue Feb 9 01:32:48 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Al Stone X-Patchwork-Id: 61459 Delivered-To: patches@linaro.org Received: by 10.112.43.199 with SMTP id y7csp1766676lbl; Mon, 8 Feb 2016 17:33:42 -0800 (PST) X-Received: by 10.202.191.9 with SMTP id p9mr1585952oif.87.1454981615977; Mon, 08 Feb 2016 17:33:35 -0800 (PST) Return-Path: Received: from mail-ob0-x22b.google.com (mail-ob0-x22b.google.com. [2607:f8b0:4003:c01::22b]) by mx.google.com with ESMTPS id k9si18519833oel.64.2016.02.08.17.33.35 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Feb 2016 17:33:35 -0800 (PST) Received-SPF: pass (google.com: domain of al.stone@linaro.org designates 2607:f8b0:4003:c01::22b as permitted sender) client-ip=2607:f8b0:4003:c01::22b; Authentication-Results: mx.google.com; spf=pass (google.com: domain of al.stone@linaro.org designates 2607:f8b0:4003:c01::22b as permitted sender) smtp.mailfrom=al.stone@linaro.org; dkim=pass header.i=@linaro.org Received: by mail-ob0-x22b.google.com with SMTP id xk3so173521364obc.2 for ; Mon, 08 Feb 2016 17:33:35 -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=0kmUiduITmFD/OlGadLBCUJGApED21OUF8mqH1fIIfY=; b=DHgbzsP3zu1nxDadJj9ia1i7x1ZuOAJ5GplP/YgCUEuAtqiAxDV6vvux43nSjCA+se EA05vzIs0ce86YWk+TI8NCNfCewfFVLW1F//C2CbZXB1YiMXWiVoI4jwaYcUsEU466qu mobSu+rmdsDuIhlWOY4wU1FB0HFdg9/TAnmEY= 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=0kmUiduITmFD/OlGadLBCUJGApED21OUF8mqH1fIIfY=; b=GR9ftkQh1qUe2N5aUUfp+3J2dBddvXS4MGmj1/qWqAE3GH/qpVt/lu6nhKNE/sR7B8 bMwKPsk/sdC8kBhU4JqLZuLg/JBmun3yzHHuwx2TWxkZdsABIrNq8p8oDcLAI7BFkzpG UeMutyQKrLnQp+u8ldFqJ/19WmRXgr0A77JgbTJlyHcArEYUiSzhDU4NLD1Z6FvT5ITt Dht+NvMb1dzVwCy060YSp0UxN6sImtcu9kSKwcFtzP2oXDLkzS7YyDrx81WyU2vYVvDF BLROL42t1RLuDDZaUUZdm/3k4n1Jhb+VRsd++iBT54fnoAOt6YnM0jveWPXY7/AdxqNk X57Q== X-Gm-Message-State: AG10YOTJ1ImbcvI7y22w9F4Wyd0ovHPwSrslpmp65Wg8L1wBVl8swIEoJTBPgcutuXNY2SUXOzw= X-Received: by 10.182.240.138 with SMTP id wa10mr27637849obc.42.1454981615687; Mon, 08 Feb 2016 17:33:35 -0800 (PST) Return-Path: Received: from fidelio.ahs3 (c-50-134-239-249.hsd1.co.comcast.net. [50.134.239.249]) by smtp.googlemail.com with ESMTPSA id qp4sm19097135obc.9.2016.02.08.17.33.33 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 08 Feb 2016 17:33:34 -0800 (PST) From: Al Stone To: fwts-devel@lists.ubuntu.com Cc: linaro-acpi@lists.linaro.org, patches@linaro.org, Al Stone Subject: [PATCH 06/21] FADT: move log info out of test2, will provide it elsewhere Date: Mon, 8 Feb 2016 18:32:48 -0700 Message-Id: <1454981583-31872-7-git-send-email-al.stone@linaro.org> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1454981583-31872-1-git-send-email-al.stone@linaro.org> References: <1454981583-31872-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 --- 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 c4d3915..5106e4e 100644 --- a/src/acpi/fadt/fadt.c +++ b/src/acpi/fadt/fadt.c @@ -488,10 +488,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;