From patchwork Wed Jul 15 08:26:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 235571 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp412860ilg; Wed, 15 Jul 2020 01:27:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxhW/gmS/X5aQNGdVVUpnSWnXC+RmOF+PnHvoz8yqWbq5TjLtevAc5wI84Swf5BPU+SyZoO X-Received: by 2002:a17:906:4447:: with SMTP id i7mr7834753ejp.191.1594801654823; Wed, 15 Jul 2020 01:27:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594801654; cv=none; d=google.com; s=arc-20160816; b=KOrIqkeosGNoyqr0vtYbXrxgz+V3L6KL1tr18KBBEnLvAmi3j3nH/n7FS2mcajVV9K 8laA5b+FmhvlrKZ8BFA9NgSFTYsJ7EePOVQagSHAPgUy5R0g9n0Zpezgz8gBuIcgQQme Iww7DcXZ9NZtDaNCAoCdGuNQlEbeD+nfMB91GAuDV9JUKB2YWxG7GTOIOBpLDKR4pp2d F/feAoz+gBKHhiySNtCxUVMwWV89y8D9PMwf9zIS3IlWgvMLAk4ihhTNPMivdVGrUxxO 8g7oyidFC8ArMeontlnSRfy6GBY9AprmvX6znRv8WDJyM14oy5OyVb63IKvCm0PMN+Bw ag3w== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=BobjFLO4jAQDqgFYhhcPSkxXTsZfQxwIQ+LKOwR6wxQ=; b=NsDXI33vMwIz3Yt5jSSgamlToAvVnaO+f8H2qwqd41uKr6G2nkECp6Q8MekMpio6TX qig/1y6TzxQXOmJTQObVCnN1l4dFrWyAEcFK5JSREThBPvo8KWXbCF5ZhSlwfpd2x3iu USxXj0pkGskiPMGYBkvlMIpwb5yJqJbTsX82Z/7jX6KmdRNOurMDzahtQwWJEmOxQ/hf yoDhyfzZA6dV3dFjYnnqLgOmV7iDol7GLVpwVZFWRbaqyOWhUMHG5FZ6FGA/Zd4+IY+F ax5B+rrzpHbSW1oGqQCyNPSX/5wFTAJrU0yUpSkCKdNeQfbmOgRRh2LWylnv2APmQNru ZkNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Y7XBEzNJ; 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: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u29si784223edi.469.2020.07.15.01.27.34; Wed, 15 Jul 2020 01:27:34 -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=Y7XBEzNJ; 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 S1729679AbgGOI0k (ORCPT + 10 others); Wed, 15 Jul 2020 04:26:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728760AbgGOI0k (ORCPT ); Wed, 15 Jul 2020 04:26:40 -0400 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A025DC08C5C1 for ; Wed, 15 Jul 2020 01:26:39 -0700 (PDT) Received: by mail-wr1-x443.google.com with SMTP id j4so1437446wrp.10 for ; Wed, 15 Jul 2020 01:26:39 -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:mime-version :content-transfer-encoding; bh=BobjFLO4jAQDqgFYhhcPSkxXTsZfQxwIQ+LKOwR6wxQ=; b=Y7XBEzNJjKc0Iuki0fXG/IizMD/riuqZahAKVS5ebLIzW5x2fZVTWpy6exLgM6WY7l MF9LP/7Xb73DNN2spvTOF9U36s88+O3xtWMOpIrpF6Sfgc6j8e7zmWpbIi/9xhjsLvTN bj2xzlqQnQVI1Z1Lxz4/XkyLus0x8gaJZGHsyxNwKzOK2WqczCwK17WtLXmLVOLbx18H XCI7GnBRBA9oT6RsfcnuGN0ieJqplA8sZb+RI6WQ9nCptOpGfXGMqYhszYvn5o/NwNuZ UERu0D4MChT9C/fh+6wACJzJYspQllNfLiFilJvDcQnAJPp0/4qiGdv3Z94HEh1VkFTk 57Gg== 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:mime-version :content-transfer-encoding; bh=BobjFLO4jAQDqgFYhhcPSkxXTsZfQxwIQ+LKOwR6wxQ=; b=oKPbxtBRyV/vHDzx95YDJBkElcsguDMTA77/W3T3oxb/1X0l2opz0BIQj+2PB0VcFH s8Yx9MUzFkNV2zt7TSAAhoImPvMrUG80EgwJZqtDWBcqxmhdeEdS8N0YXC0fSUahXOpb 7juVZbDdiUqdDXuKhd9MIEhUtjEwESQfW6b98NtrviAghhlBSGwSeMZwVkB7WTpLpihR nFd278AJyn7m8SNst5NEMzgTIT+H9EqaRZBhG2hiPlW+mOS5XAphKX5IgiSuPH9OEr7Q BhwAPNRFczQR1xREY3TtmQDL933z4eSktNbu18374uZyHTlXjwd+AlOOlKlxVihcLh8Z PxCg== X-Gm-Message-State: AOAM532EQ6mP8XP5Pxa/BEk4HaWNGxdZI2OO8nfgZQkFo+Y2wV1BEQG/ XLW7lLY3zYynzubyIcd2e3dOng== X-Received: by 2002:a05:6000:86:: with SMTP id m6mr9906018wrx.173.1594801598417; Wed, 15 Jul 2020 01:26:38 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id h13sm2400361wml.42.2020.07.15.01.26.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2020 01:26:37 -0700 (PDT) From: Lee Jones 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 Subject: [PATCH v2 00/13] Rid W=1 warnings in CPUFreq Date: Wed, 15 Jul 2020 09:26:21 +0100 Message-Id: <20200715082634.3024816-1-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org This set is part of a larger effort attempting to clean-up W=1 kernel builds, which are currently overwhelmingly riddled with niggly little warnings. After these patches are applied, the build system no longer complains about any W=0 nor W=1 level warnings in drivers/cpufreq. Hurrah! Changelog v1 => v2: - Collect *-bys - Use __maybe_unused instead of removing device IDs - Use __always_unused instead of using unused variables - Include architecture header instead of creating new include file Lee Jones (13): cpufreq: freq_table: Demote obvious misuse of kerneldoc to standard comment blocks cpufreq: cpufreq: Demote lots of function headers unworthy of kerneldoc status cpufreq: cpufreq_governor: Demote store_sampling_rate() header to standard comment block cpufreq: sti-cpufreq: Fix some formatting and misspelling issues cpufreq: pasemi: Include header file for {check,restore}_astate prototypes cpufreq: powernv-cpufreq: Functions only used in call-backs should be static cpufreq: powernv-cpufreq: Fix a bunch of kerneldoc related issues cpufreq: acpi-cpufreq: Mark 'dummy' variable as __always_unused cpufreq: acpi-cpufreq: Mark sometimes used ID structs as __maybe_unused cpufreq: powernow-k8: Mark 'hi' and 'lo' dummy variables as __always_unused cpufreq: pcc-cpufreq: Mark sometimes used ID structs as __maybe_unused cpufreq: intel_pstate: Supply struct attribute description for get_aperf_mperf_shift() cpufreq: amd_freq_sensitivity: Mark sometimes used ID structs as __maybe_unused drivers/cpufreq/acpi-cpufreq.c | 8 +++---- drivers/cpufreq/amd_freq_sensitivity.c | 2 +- drivers/cpufreq/cpufreq.c | 32 ++++++++++++++------------ drivers/cpufreq/cpufreq_governor.c | 2 +- drivers/cpufreq/freq_table.c | 6 ++--- drivers/cpufreq/intel_pstate.c | 2 ++ drivers/cpufreq/pasemi-cpufreq.c | 2 ++ drivers/cpufreq/pcc-cpufreq.c | 2 +- drivers/cpufreq/powernow-k8.c | 4 ++-- drivers/cpufreq/powernv-cpufreq.c | 15 ++++++------ drivers/cpufreq/sti-cpufreq.c | 8 +++---- 11 files changed, 45 insertions(+), 38 deletions(-) -- 2.25.1 Acked-by: Viresh Kumar