From patchwork Mon Dec 12 17:56:55 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Desaulniers X-Patchwork-Id: 87725 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp1776500qgi; Mon, 12 Dec 2016 09:57:01 -0800 (PST) X-Received: by 10.99.208.21 with SMTP id z21mr169046176pgf.79.1481565421310; Mon, 12 Dec 2016 09:57:01 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 90si44363676plb.305.2016.12.12.09.57.00; Mon, 12 Dec 2016 09:57:01 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dmarc=fail (p=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753761AbcLLR47 (ORCPT + 13 others); Mon, 12 Dec 2016 12:56:59 -0500 Received: from mail-pg0-f68.google.com ([74.125.83.68]:35188 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753320AbcLLR46 (ORCPT ); Mon, 12 Dec 2016 12:56:58 -0500 Received: by mail-pg0-f68.google.com with SMTP id p66so1648474pga.2; Mon, 12 Dec 2016 09:56:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=D9HwhQeyxgsaNkH4W9LYnnuUHCh4AG33ee9Svv539D0=; b=MqQ2nQsUVJa+kcMvwr25AVLK9z54KC5/pakV/ctS+tzL965rKCgFrAzO1oUkAvFnAV taWAm5YiOvWlph7n/xFm1NYCdlcSxVLU0YwjeDTXQGb79avc3FUgXF2sSkgVhlucDU4y RH+9KTpfWd0YqqEWBFPAsMNJoaPWgoLSufY0d4A6bKi89RjJQO4F3aUh10CqDOJR4Lyk GHSWxeiMbPkc4cGhNArTCvFRJsCPJ/XLDlFRz8qfUL/INRZEiLTAaYADIDRzn471LOag QhHrAnBCAxk+3k3aaO8dxdVA5xDwTyBIEhniI2VMJAZgVYJiCqD4s+bfL/GhRHO7JO+V zUjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=D9HwhQeyxgsaNkH4W9LYnnuUHCh4AG33ee9Svv539D0=; b=MJLaP9Z60l0rzD2I7h32rcB5qp1IVtY4IEaLmUjB1XJWqdI2t7NKEzi6Wy6X5Ae49Y l0uGXxYYfNbLVhyOVmbb9Zxdep42+gmqMc10p7hEuUDsaAtd35eoaq1uwuFOAAhvtFt+ zKR+nuQnqQ1Ke7DJQL73o1h6Q0TYeEEVBi/qvVDLjaH0YuWWlAsZhTDe9lFsAgL0BSWx d63xl0W4Ve1nObcxr2I4XEOjhzmR6eGUBb5y5Vy6sh63lY4T8Nu5sI/VyVtS5p6Zrivj qk/EzQfjVsI/hc/P23LwZzuC7VcJTy3cum/0fetSOyIW6WZOC39ZE8g/uNNptlUejSQm HoPQ== X-Gm-Message-State: AKaTC01ibxEIQXhV77G7yvc3RleLzgc48FlWRi/iNnP7TkYpzBqLSClrHmpvsx5mWGrnWQ== X-Received: by 10.98.79.193 with SMTP id f62mr98020852pfj.149.1481565418067; Mon, 12 Dec 2016 09:56:58 -0800 (PST) Received: from lostoracle.net ([2601:647:4701:31a:320e:d5ff:febd:81c]) by smtp.gmail.com with ESMTPSA id q9sm77167964pfg.47.2016.12.12.09.56.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 12 Dec 2016 09:56:57 -0800 (PST) Date: Mon, 12 Dec 2016 09:56:55 -0800 From: Nick Desaulniers To: Pavel Machek Cc: rjw@rjwysocki.net, len.brown@intel.com, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, x86@kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ACPI: small formatting fixes Message-ID: <20161212175654.ydc7rx3edqoacnp7@lostoracle.net> References: <20161212072541.28435-1-nick.desaulniers@gmail.com> <20161212085620.GA738@amd> MIME-Version: 1.0 Content-Disposition: inline; filename="0001-ACPI-small-formatting-fixes.patch" In-Reply-To: <20161212085620.GA738@amd> User-Agent: Mutt/1.6.2-neo (2016-08-21) Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Acked-by: Pavel Machek >From 47d3bcb76ef89ddbe74c8d8aacee1c0c6203a766 Mon Sep 17 00:00:00 2001 From: Nick Desaulniers Date: Mon, 12 Dec 2016 09:50:23 -0800 Subject: [PATCH v2] ACPI: small formatting fixes A quick cleanup that passes scripts/checkpatch.pl -f . Signed-off-by: Nick Desaulniers --- arch/x86/kernel/acpi/cstate.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/x86/kernel/acpi/cstate.c b/arch/x86/kernel/acpi/cstate.c index af15f44..37d40a3 100644 --- a/arch/x86/kernel/acpi/cstate.c +++ b/arch/x86/kernel/acpi/cstate.c @@ -12,7 +12,6 @@ #include #include -#include #include #include @@ -89,7 +88,8 @@ static long acpi_processor_ffh_cstate_probe_cpu(void *_cx) retval = 0; /* If the HW does not support any sub-states in this C-state */ if (num_cstate_subtype == 0) { - pr_warn(FW_BUG "ACPI MWAIT C-state 0x%x not supported by HW (0x%x)\n", cx->address, edx_part); + pr_warn(FW_BUG "ACPI MWAIT C-state 0x%x not supported by HW (0x%x)\n", + cx->address, edx_part); retval = -1; goto out; } @@ -103,9 +103,8 @@ static long acpi_processor_ffh_cstate_probe_cpu(void *_cx) if (!mwait_supported[cstate_type]) { mwait_supported[cstate_type] = 1; - printk(KERN_DEBUG - "Monitor-Mwait will be used to enter C-%d " - "state\n", cx->type); + pr_debug("Monitor-Mwait will be used to enter C-%d state\n", + cx->type); } snprintf(cx->desc, ACPI_CX_DESC_LEN, "ACPI FFH INTEL MWAIT 0x%x", @@ -166,6 +165,7 @@ EXPORT_SYMBOL_GPL(acpi_processor_ffh_cstate_enter); static int __init ffh_cstate_init(void) { struct cpuinfo_x86 *c = &boot_cpu_data; + if (c->x86_vendor != X86_VENDOR_INTEL) return -1; -- 2.9.3 -- To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html