Message ID | 20200715082634.3024816-13-lee.jones@linaro.org |
---|---|
State | Accepted |
Commit | 8f23d1f12cf1515693893aae3a79e6079bcdcf85 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp412434ilg; Wed, 15 Jul 2020 01:26:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxP/LaSWsO9V72lqSrlomHNn4WVZreDetvYVDBVBu8IWHMxVWs9B8MSGkK6sdcS3U4Ychh3 X-Received: by 2002:a17:906:7017:: with SMTP id n23mr8023891ejj.262.1594801617881; Wed, 15 Jul 2020 01:26:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594801617; cv=none; d=google.com; s=arc-20160816; b=noI/HQ2PoZATPKWWJcx1nwW/zohyMmF1poFvvsHhDWnanP5WWkQadFof2tiu9lkwdQ jheQmZ0L6yUQkQNe8JAQ9iQd7zpLvSpVV5xerIh6lWPCeY9vWtGFyPccn8HGHUgELCjo dwBHzbXjJEB/fiTKC4qBAzZZIdZlquBp7XG0IWFStGX1FYHUpbA2nCgrF+0zX5P2Tugv CwZfSwmoJHAIVMaZBRfn5uh8xx4fOcp9ZJrigEQmcGBBwTTA4Qu1YkpSw2aD3RerMm/c KvN/0udJKxRFFULnq/bzGo3qdyGdH7Q0kcYVTmayATcGEGsUWbCA/MOHrk6qpcF9rgz1 N3nw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=xDE1zUX/1JKQBQmQqlPliyHfkazrkQ232Ej5nXmiXwM=; b=Vgy9q2FTRQFUyqui2LmWNK75jY0RziYEaESKSvwnmoR18eTHaB4TTxS/auwOJ656fF yfGdh93VxnD8fgZqYW30uYKT45gGShRirMaf28TedgKXLhYyy3bhMJErelR6JDGmqFEP etO3jkqgcwcKV7vgNrYJeYlrC19oN29X39o67vZKaVbJ+4IZovM1idhjrXI6Zq602Kdv C8n8Bdz8cgwkBnQ25zXZS57hSKA5YRaNu2IYr4KKOaXL2sFppsSQC2brlpLwDi36jPhb EDFcDFE3Ieh8//y0HGjudZm4qDKv+yjX6MZn1j6eZw4pRj6VFDl6g0wLJ2/uKbKOw9zo mkug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zXIpCOcY; spf=pass (google.com: domain of linux-pm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-pm-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dd7si803835ejb.615.2020.07.15.01.26.57; Wed, 15 Jul 2020 01:26:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-pm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zXIpCOcY; spf=pass (google.com: domain of linux-pm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726648AbgGOI0z (ORCPT <rfc822; jun.nie@linaro.org> + 10 others); Wed, 15 Jul 2020 04:26:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729928AbgGOI0z (ORCPT <rfc822;linux-pm@vger.kernel.org>); Wed, 15 Jul 2020 04:26:55 -0400 Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8CC9AC08C5C1 for <linux-pm@vger.kernel.org>; Wed, 15 Jul 2020 01:26:54 -0700 (PDT) Received: by mail-wm1-x344.google.com with SMTP id f139so4680215wmf.5 for <linux-pm@vger.kernel.org>; Wed, 15 Jul 2020 01:26:54 -0700 (PDT) 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 :mime-version:content-transfer-encoding; bh=xDE1zUX/1JKQBQmQqlPliyHfkazrkQ232Ej5nXmiXwM=; b=zXIpCOcYgYHp1oI/hNnk7zY9h2vzxnyGom+gI1qtkY9gm2GpNzrjfPEFEUBPJH5UV6 B6KQaI1nRCVuI+yN6eORsPiXeZ1pz3BSHbCy72HLtafEThX0+RoPRLneZigsJABeab59 zdzPVLTA85+sxS8iafLaTVvgxWdhYc/5554JhGgByGNiv1rSVi/h1HH0DjGavC9IpM/N xhOMe26zXLdwfZOhKkZEvOA9PdP5EnV5oe8Ib/cVIjRGbWpg9829J9rA3vpuOfklOYV8 spprCi/ti3c2ZogtRgF35Z0LCQrJWosGr7Xz/eHYISvhYS+lP1v8pf+RlvdSSzpCWpaI jjiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=xDE1zUX/1JKQBQmQqlPliyHfkazrkQ232Ej5nXmiXwM=; b=mCIpHHtCgL5iWX0DKPoTjrC+fdeK5LOrVz62YsrdwOUt0v5/A/wBdmMRRXQx0lApFB 7No9KsuegJ43ietRpqnXhT1/FXGoutXuKG6wZG5qIEjASIoAXrNFIymuADlyKIresJg8 WhdY5B2ALtJmYt+u4YQVNx40/NdS9+aIYk11JIRcl7GVi5N+CjyvuJeW6j/R6+B6dGcS zDC2BaZo/ORaxtDxnYvwcnrI+dhqt44EPAT1SDABo9KtWw0EhkkCiJUwH1/JKHI2roPv eCkWtL3OP1cCpCF1GAk1dXyp4y7y+OSq2ytXnB0Q1nIZq86oESOaXcwFbtclHwahef9R 7tZQ== X-Gm-Message-State: AOAM533qmW48JrLZ8TaxwiC+00uHFKRYEvFFt5YBIPhp2IbEpsHZ26sv wTH/xnd6gruBUL8QE08oeLZYuA== X-Received: by 2002:a1c:18b:: with SMTP id 133mr7513947wmb.178.1594801613334; Wed, 15 Jul 2020 01:26:53 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id h13sm2400361wml.42.2020.07.15.01.26.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2020 01:26:52 -0700 (PDT) From: Lee Jones <lee.jones@linaro.org> To: rjw@rjwysocki.net, viresh.kumar@linaro.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Lee Jones <lee.jones@linaro.org>, Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>, Len Brown <lenb@kernel.org>, Dirk Brandewie <dirk.j.brandewie@intel.com>, "Rafael J. Wysocki" <rafael@kernel.org> Subject: [PATCH v2 12/13] cpufreq: intel_pstate: Supply struct attribute description for get_aperf_mperf_shift() Date: Wed, 15 Jul 2020 09:26:33 +0100 Message-Id: <20200715082634.3024816-13-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200715082634.3024816-1-lee.jones@linaro.org> References: <20200715082634.3024816-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: <linux-pm.vger.kernel.org> X-Mailing-List: linux-pm@vger.kernel.org |
Series |
Rid W=1 warnings in CPUFreq
|
expand
|
diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c index 44c7b4677675d..3960f971fdfb3 100644 --- a/drivers/cpufreq/intel_pstate.c +++ b/drivers/cpufreq/intel_pstate.c @@ -275,6 +275,8 @@ static struct cpudata **all_cpu_data; * @get_min: Callback to get minimum P state * @get_turbo: Callback to get turbo P state * @get_scaling: Callback to get frequency scaling factor + * @get_aperf_mperf_shift: Callback to get the APERF vs MPERF frequency + * difference * @get_val: Callback to convert P state to actual MSR write value * @get_vid: Callback to get VID data for Atom platforms *
Fixes the following W=1 kernel build warning(s): drivers/cpufreq/intel_pstate.c:293: warning: Function parameter or member 'get_aperf_mperf_shift' not described in 'pstate_funcs' Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Cc: Len Brown <lenb@kernel.org> Cc: Dirk Brandewie <dirk.j.brandewie@intel.com> Suggested-by: "Rafael J. Wysocki" <rafael@kernel.org> Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/cpufreq/intel_pstate.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.25.1